Questions tagged [logging]
The act of recording actions, requests, and other meaningful data in a computer. Often used for troubleshooting kernels, servers, etc.
1,095
questions
0
votes
0
answers
14
views
How to plot the history of download and upload per hour for a given service or process on Windows 10?
I saw on https://answers.microsoft.com/en-us/windows/forum/all/does-dosvc-download-anything-other-than-windows/25b1812f-cbc2-4797-92b4-ac87f1b2aea0 the history of download and upload per hour for the ...
0
votes
0
answers
16
views
How analyze router syslog
Router has https, VPN, PostgreSql and VNC ports open. I want to know user names and passwords used in attacks by countries and ip addresses.
Currently free kiwi syslog server from solarwinds.com in ...
0
votes
0
answers
8
views
how to check the log of console in Xcode
Recently I'm writing a program using swift about MMKV. I raised an issue about a function, and was asked to provide the log of console.Does anyone know how to check that? Many thanks!
0
votes
1
answer
56
views
How to disable Realtek logging to a file?
I need help with this Realtek logging too much unwanted data on SSD and contributing to unwanted reads and writes. My HP laptop has an inbuilt Realtek WiFi card and its drivers. However, the drivers ...
1
vote
1
answer
85
views
RHEL8 + rsyslog: How to "tag" log records based on IP address of interface used by incoming TCP/UDP 514 syslog client traffic
I have a situation in which I have 3 different rsyslog servers, each of which ingests incoming syslog traffic from other "client" servers, network devices, etc. all via both TCP and UDP port ...
0
votes
1
answer
39
views
Linux user logs bad encoding (Fedora 39)
. Hello guys, I have this weird formating in my user logs, anyone know where it is coming from ?
Thanks.
G�O`���NMESSAGE=17:19:31.502 › did-navigate-in-page�2�R��� ��\�Ek�D��F���Y$#+y���=��8@9 9�...
0
votes
0
answers
74
views
Omada Controller and rsyslog
I am totally new to rsyslog so please be gentle ;)
I have an Omada TP-Link controler, that manages all my clients AP across the region.
Everything works fine, I am trying to implement public Wi-Fi ...
0
votes
0
answers
236
views
How to view Windows update history especially logs on uninstalled updates
I was having issues with Windows 11 restarting by itself some months ago, which started happening after a Windows update, so it was obvious the update was bad, so with trial and error I found the ...
0
votes
0
answers
46
views
TACACS+ accounting using linux client
Is it possible to log all commands executed in the Linux machine to a TACACS server?
1
vote
0
answers
48
views
HyperV VM was stopped - How to find why and when in Windows Server event logs
Recently I keep finding a HyperV VM (the MSSP's vulnerability scanner) that is in the "Stopped" state when it shouldn't be and want to find the cause. I'm a support officer slowly ...
0
votes
0
answers
35
views
Deleted characters recorded in MobaXterm log
In MobaXterm SSH session, I type several letters randomly then delete them, but they are still recorded in log file. How can I prevent the deleted letters from being recorded in the log file?
Below is ...
0
votes
0
answers
179
views
PHP-FPM on Apache log issue
I am having trouble finding the cause of my php-fpm process logging its error output to the same location as the script result.
I have an Apache server which passes requests to the php-fpm process ...
0
votes
1
answer
285
views
How to rotate logs with rsyslog advanced format?
I'm using rsyslog with advanced format (also known as RainerScript). How can I make it rotate log files using this syntax? My (simplified) config looks like this:
module(load="imudp")
...
2
votes
1
answer
832
views
How can I fix this error in the DISM log file?
I want to repair a corrupted Windows installed on a hard disk through another PC.The wim file that I use as a source for repair was extracted from another wim file that contains several versions of ...
1
vote
1
answer
109
views
Logging files that are unable to transfer in powershell
I'm trying to log some files that are unable to transfer when I'm recursively copying over one folder to a different location. When I right click, copy, and paste the folder, I get an error message &...
0
votes
0
answers
71
views
Windows 10+ CMD adding space after initial command
Noticed last week from our SIEM logs that windows command line is adding an additonal space after the initial command. Examples:
ping 1.1.1.1 turns into ping 1.1.1.1
net user bob /do turns into net ...
0
votes
1
answer
662
views
No ntbtlog.txt after enabling Boot Logging
My windows 10 box needs ages for booting, so I've tried to enable boot logging to find out what is taking this time. I've enabled it by using msconfig and another time by calling
bcdedit /set {current}...
2
votes
1
answer
518
views
How to identify unrepaired corrupted files through the log created by dism?
If by running the command " Dism /image:C:\ /Cleanup-Image /RestoreHealth /Source:D:\install.wim /LimitAccess
", dism fails to repair some system files, does it create a log and mention them ...
2
votes
0
answers
171
views
How to show private data in macOS unified log within Xcode
I am getting runtime errors in Xcode involving interface builder. However, the system logger is sanitizing pertinent information contained in the logging.
Unknown class <private> in Interface ...
0
votes
0
answers
24
views
Does chromium keep logs of the events leading up to opening a new tab?
I had a tab randomly open up that was for adware. Luckily, it was caught by my ad blocker, but I would like to figure out what triggered it to open.
I tried checking its history state through console,...
0
votes
0
answers
742
views
How to configure rsyslog to use the imfile module?
I have Red Hat 9.2 with rsyslog v8.2102.0-113.el9_2.1.
I use default /etc/rsyslog.conf and a custom configuration called vums.conf located in /etc/rsyslog.d/.
module(load="imfile")
input(...
0
votes
1
answer
29
views
How to figure out why os stalled
I'm guesing it was either a disconnected ssd running the os, or the power supply unit , an uniterruptible power supply that is old. Because i was moving the ssd around within the desktop at the time, ...
0
votes
1
answer
71
views
can Clear-Content be equivalent to bash 'truncate'?
This could be off-topic, if so my apologies; please re-direct me to the correct StackExchange site.😉
Can Clear-Content file.log be used in Powershell, on a Windows Server environment to empty a ...
0
votes
0
answers
157
views
Connect multiple hosts running promtail to loki running on a separate host
Hi all first time posting here.
I have 3 different servers. This is the setup I want to achieve:
Server1 (51.25.365.12): promtail
Server2 (51.25.78.215): promtail
Server3 (216.25.36.54): promtail, ...
0
votes
0
answers
165
views
Preserve OPNsense logs after a reboot
OPNsense just got stuck (or maybe DOSed, but I can’t tell because of missing logs), and I had to reboot from the serial console to restore functionality quickly.
After the system came back up trouble-...
0
votes
0
answers
85
views
Tracking SSH access on a client MacOS machine
There are many sources describing how to track and detect SSH attempt on a server. What I am asking is the opposite. I have a MacOS (Ventura) and I would like to track where this machine has SSH-...
2
votes
1
answer
564
views
Programmatically detect whether a display is attached to the computer or not
I have an unattended computer that runs software on a screen basically 24/7, and I'd like to be able to detect if the display has lost power or otherwise isn't detected by the computer.
The Windows ...
2
votes
0
answers
210
views
Log file name based on application with syslog-ng
I'm using syslog-ng and currently my config only separates log files based on ip address and facility:
source s_network_udp {
syslog(transport(udp) port(514));
};
destination d_local {
file("...
0
votes
0
answers
367
views
How to Forward /var/log/yum.log to Remote Logging Server using rsyslog.conf?
Gents,
I am trying to find a way to forward /var/log/yum.log towards Remote Logging Server using rsyslog.conf in my RHEL7. But Not happening.
I have tried this approach but no luck -
$InputFileName /...
0
votes
0
answers
163
views
Mac scanning ports 137, 161, 7000
I got a mac scanning for ports 137, 161, 7000 pinging the whole network.
here an image:
Before proceeding with some in depth analysis i would love to see if some of you can share some knowledge and ...
1
vote
0
answers
492
views
Which Windows event is generated for external USB storage mounted as a disk volume?
What is the Windows event generated when an external USB storage is mounted as a disk volume in the OS?
Events like PnP events are triggered even if the external USB storage drive is blocked by AD ...
0
votes
1
answer
138
views
How to do logging after taking admission access in batch script?
I have typed the suggested solution in Log an entire batch file output.
But only work when we batch script doesn't ask for admin access or take any user input.
In my script i I'm take the ...
0
votes
1
answer
91
views
How to get log info to STOP going to console in Ubuntu 22
I have no idea what is causing this but I just did an update and upgrade and now I'm getting all kinds of info going to the terminal.
Here are some simple examples from sudo invocation, an anacron, ...
0
votes
0
answers
38
views
TLS connectivity log on MacOS
Looking to enable TLS connectivity logging, mainly to identify the protocol version that is being used (TLSv1/2/3). OSLog (the new logging platform) does not log any TLS activity, unless directed by ...
0
votes
1
answer
293
views
Does Windows have something like journald on Linux?
I have a Windows 10 installed as main OS on a machine. When I installed it fresh it would boot in like 5 seconds, but as time passed and new updates got installed, the boot times became slower and ...
0
votes
0
answers
420
views
SSH on Windows 10 produces an empty log file
I am using ssh on Windows 10 with the -E option:
ssh -E log.txt [email protected]
The log file gets written, but it's empty. I tried ending my session with exit (rather than just closing the ...
0
votes
0
answers
25
views
non booting behaviour in ubuntu VPS with empty logs
I have an issue today, I have an ubuntu VPS. On this VPS I have PLESK installed, and I'm running 4 websites.
One of the websites suddenly stopped working, then I rebooted the VPS through SSH. After ...
1
vote
0
answers
942
views
How to repair a XFS filesystem with a dirty log?
I had a server crash while its RAID array was running in a degraded state and now the XFS file system is corrupted. I have read up on how to repair the filesystem but most things I have tried have ...
1
vote
0
answers
347
views
How to logrotate Docker containers with journald log-driver
I would like to achieve log rotation for Docker containers, but also preserve logs on Docker container recreate (docker compose up --force-recreate). Local driver seems perfect (it allows custom file ...
0
votes
1
answer
2k
views
VirtualBox 7.0.6 failed to open a session on host Windows 10 lacking WinVerifyTrust
I'm working on Windows 10 Home (version 22H2, OS build 19045). Shortly after another Windows update my Oracle VM VirtualBox (which I'm using with no extension packs) stopped launching virtual machines ...
0
votes
1
answer
2k
views
Disable a "Startup event trace session" when Windows boots
OS: Windows 10 Pro 64bit, 21H2, I'm the Admin on this computer.
Although there's a manual way to do this via
Performance Monitor -> Data Collector Sets -> Startup Event Trace Sessions
However, ...
0
votes
2
answers
5k
views
MobaXTerm: opening a new SSH session from Win CMD with logging
first topic here, so apologies in advance, if I am doing something wrong!
Searching with various terms did not yield in useful results, so I would like to ask for your help.
Is it possible to start a ...
0
votes
1
answer
92
views
How to disable gz backup history of logs?
In the /var/log directory from time to time different backup log files are saved, some ending in .1 .2 .3 and .gz. How can I configure the system to generate a single log without making backups but at ...
0
votes
1
answer
966
views
Log Whatsapp conversations
We want to log everything that's being communicated with our clients.
We log e-mails, phone calls and letters.
With WhatsApp I tried different approaches already:
Keep an app like Notisave running on ...
0
votes
2
answers
1k
views
What does ddrescue logfile indicate?
I am running ddrescue, trying to copy my dying 2TB Seagate Baracuda harddrive to a new 4TB hard drive.
Now, it has been running for 5 days now, and on the terminal screen I see there are some read ...
1
vote
0
answers
213
views
Why does Amazon Music create an asw_sdk{date}.log file on my desktop when it runs?
I am running Windows 10 and whenever I run my Amazon Music Desktop app it creates a file called aws_swk{today's date}.log file on my desktop. It's always empty. It appears to also have logs in its ...
2
votes
0
answers
144
views
Windows 10 screen timeout is set. Something turn on the screen after it has been switched off by timer settings
My screen timeout settings is set to 5 minutes for both options (On battery + When plugged in).
My sleep settings is set to 15 minutes from battery and never when plugged in.
Blank screen saver is set ...
1
vote
1
answer
2k
views
Mapping the wlceventd logs and their wlceventd_proc_event
I'm trying to monitor the logs that my Asus router are generating, so I can react on certain events.
Some of the interesting ones are from the Wireless LAN Controller event daemon (wlceventd), e.g. ...
0
votes
0
answers
46
views
Windows event log service records
When the Windows event log service is stopped or started is this logged anywhere on windows?
Service = EventLog
0
votes
1
answer
458
views
Find log files under multiple directories and compress each file with its own name and date
I have multiple directories like below and I want to compress each file in place.
/var/dir1/logs/logfile.log
/var/dir2/logs/logfile.log
/var/dir3/logs/logfile.log
I want to use find and tar with ...