Skip to main content

All Questions

Tagged with
6 votes
1 answer
21k views

Journalctl shows logs from about last hour only

I have a problem with journalctl logs, which doesn't show me logs older than about one hour. First log entry is from about one hour ago, instead of 2 days as requested. $ date -u Wed May 13 08:59:21 ...
Jakub Kuszneruk'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
1 vote
1 answer
775 views

iptables logging how to increase max log prefix?

I have many iptables rules that will log offending packets. My logs go to /var/log/iptables.log but the logs appear in 24-hour time: Mar 13 00:13:55 kernel: DROPPED Attempted ping, I would like them ...
Ecstasy's user avatar
  • 382
1 vote
1 answer
5k views

How to log some, but not all, lftp transfers

I have an lftp script file that I use for mirroring some directories over sftp, so I run the command using something like lftp -f mirror_dirs.lftp. I would now like to log the transfers to a specific ...
President James K. Polk's user avatar
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
1 vote
0 answers
55 views

How to check for screen activation in system logs

I have a Debian 10 (Buster) installed, and I was wondering how to check in the system logs when the screen was activated. The way I configured the OS is that I have turned off in the power manager ...
user421473's user avatar
1 vote
1 answer
11k views

How to read from syslog?

I can write to syslog via: logger "foo bar baz" but how do I read from syslog? my only guess is: tail -f /var/log/syslog but that doesn't seem right from my testing. Note: also looking for a way ...
MrCholo's user avatar
2 votes
1 answer
3k views

Docker logs is missing log entires which are showing in docker attach

I am working on a software running inside a docker container where the produced logs are mandatory in order to evaluate it later on. My problem is that the command docker logs is missing some log ...
CleverUnderDog's user avatar
1 vote
0 answers
2k views

How to find out what killed my desktop environment (and possibly X Server)?

I ran into a problem this morning. I have a computer that is used for machine learning and nothing else. I use python to run tensorflow to train some models that I made. The problem is that I couldn'...
Randryn0's user avatar
1 vote
1 answer
39 views

Check Mount Directory

I have raspberry pi and have microsd with raspbian from which the system is loading and the HDD on which I write logs. I encountered such a problem that sometimes the disk falls off and the logs begin ...
JaneKapovsky's user avatar
0 votes
1 answer
181 views

Linux Log File doesn't appear

I have deleted a Log file from a linux server that was occupying 30 GB of memory , but after deleting the memory still occupied and don't know what is the problem , like if the log file was not ...
AbdelAziz ESSAADI's user avatar
3 votes
1 answer
1k views

How can I set quotas for /var/log/journal?

On Ubuntu, /var/log/journal grows too large. I am told I can safely delete /var/log/journal/* but I'd rather have a quota set. How do I do this?
spraff's user avatar
  • 2,228
0 votes
0 answers
23 views

Linux - How to make grep show the next line too [duplicate]

I am using grep to see a log of one of our systems. When I type "cat server.log | grep PPHI245" it shows the output below: But, when I type just "cat server.log" it shows the output below: Look ...
WitnessTruth's user avatar
0 votes
1 answer
1k views

Application log under Linux

What is the appropriate way for applications (for example Node) to log under Linux? With Windows there is the event log which applications can write to. Should we just create log files under var/log ...
F.H.'s user avatar
  • 143

15 30 50 per page
1 2
3
4 5
16