Skip to main content

All Questions

Tagged with
82 questions with no upvoted or accepted answers
0 votes
1 answer
309 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 ...
statcfr's user avatar
0 votes
0 answers
1k views

How to list users logged via remote desktop(xrdp) and ssh on Ubuntu

I'm using some shared Ubuntu machine and using the who, w, last commands doesn't print any users just my own user. Issuing reboot print a list of users logged in via xrdp. Is there a command that can ...
andrei.bosch's user avatar
0 votes
0 answers
98 views

journalctl entries are logged using the same time, in 5minute intervals

I have a service which queries a database every second and print out results to console. When I look at journalctl I get a couple hundred lines that all have the same timestamp, and then the next ...
frend123123's user avatar
0 votes
1 answer
1k views

Changing security levels of Fortigate logs?

Tech newbie here. I want to send Fortigate logs to a syslog server. Previously, I was receiving way too many unnecessary firewall logs, 90% of them with a security level of "notice." I have ...
user avatar
0 votes
2 answers
76 views

Prevent application (iscsiadm) logging to dmesg?

I have an issue where running sudo iscsiadm -m discovery -t st -p IP -l logs to dmesg across all terminals on the server. The command is run from a java application, using: Runtime.getRuntime()....
Kris Rice's user avatar
  • 101
0 votes
1 answer
1k views

How to Forward Windows Print Log to Syslog

I want to collect logs from various machine (windows and linux) to a centralized log server. The log server has been configured and is listening on port 514 tcp and udp for log in syslog protocol. I ...
Kristian's user avatar
  • 126
0 votes
1 answer
151 views

Debian 10 - OpenSSH-Server How to redirect user login info to a different logins file?

Debian 10 + OPENSSH-SERVER 7.9 I have a remote server that connect to my local server every minutes and in the local server's syslog, every minute I have: Oct 11 18:22:01 localhost systemd[1]: Started ...
PatriceJ's user avatar
0 votes
1 answer
1k views

prevent kernel message which appears on terminal screen /dev/tty1

Kernel debug level message watchdog : BUG: soft lockup - CPU#0 stuck for 22s! appears in my console(/dev/tty1) and I am trying to prevent it. I tried following 3 methods but none of them worked: I ...
zenprogrammer's user avatar
0 votes
0 answers
104 views

How to edit file inplace

I am writing some logs in a file using logging module #filename : demo.py import logging #other imports as well logging.basicConfig(filename="myfile.log", format='%(...
Pranjal Doshi's user avatar
0 votes
1 answer
1k views

Write the output of xmllint to a log file, how?

With xmllint I check all XML files in the folder and if xmllint finds an invalid XML file there is an output. My question: how can I write this output to a log file? I found this command on the ...
webuser57's user avatar
0 votes
0 answers
2k views

samba linux access log file location

experts! I have a linux smb installation, and, as well as apache logs every access (what ip, when, requests what resource), I wonder if smb does the same: I'd like to have a log file that reflects ...
glezo's user avatar
  • 123
0 votes
0 answers
273 views

log tcp contakting connection with nftables

I Want to log TCP contracting Connexion using nftables(iptables) I tried to write tcp flags in Rule, but when I acces to webpage of destination IP address I get just this Info in my logfile : ...
taybinakh's user avatar
0 votes
0 answers
1k views

rsyslogd vs auditd? Are they alternatives or complement each other?

I see that both auditd and rsyslogd services are running (on my OpenSuse Leap 15 box). A quick google didn't give a good answer. Are these services doing the same job? i.e. Could i get rid of one of ...
Corvus Corax's user avatar
0 votes
0 answers
625 views

How to get new generated file name on logrotate?

I want to get new file name generated by Logrotate and run a script on it. Logrotate has an event called Postrotate() with a parameter called '$1' but it returns the original path file name for ...
Amintabar's user avatar
  • 101
0 votes
0 answers
67 views

Linux log grows large, resets, does it again

Am running Ubuntu 18 and don't have a ton on their for apps. The hardware is setup with one 120gb SSD as root/boot and the rest of the drives as 2 pair of raid drives where media files, etc... reside. ...
Mark's user avatar
  • 113

15 30 50 per page