Skip to main content

All Questions

Tagged with
3 votes
0 answers
1k views

Is there a tool like `cronolog` or `rotatelogs`, but also with compression and removal like in `logrotate`?

I want simple piped logging without config files or system-wide rules for periodic command execution. Are there any projects that allows to do that? Expecting something like this: ./...
Vi.'s user avatar
  • 17.3k
2 votes
2 answers
6k views

View old command output from a closed terminal

I ran hg pull hg up to check in my working copy to the Mercurial repository. I got some warning messages in the terminal. I closed the terminal and now I want to see those messages again. Are ...
alwbtc's user avatar
  • 2,985
2 votes
1 answer
4k views

Log rotation with compression?

I'm running a process on Linux (CentOS 7) which produces a lot of output on stdout. Sending it all to a file will result in a file size greater than 1 TB. But happily the output is quite compressible -...
LangeHaare's user avatar
2 votes
1 answer
2k views

Recording a bash session

For auditing and documentation purposes, I'd like to find a command such that everything that happens in a given bash session, is written to a file. I.e., I'd like to end up with a file that shows ...
marc's user avatar
  • 163
2 votes
3 answers
1k views

log execution of certain commands on linux

I have to maintain a system (debian) on which several users are allowed to install programs - so I would like to log, for example, if anyone executes "apt-get install" or "apt-get purge", so I can ...
user avatar
2 votes
1 answer
1k views

hidden file consuming disk space

The following file is consuming a lot of disk space. Can I remove this file? /opt/wlt-tomcat/logs/.catalina.out.swp What this file is used for?
shantanuo's user avatar
  • 2,793
2 votes
1 answer
415 views

Break and restart Linux command when specific text appears

To simplify the situation as much as possible, let's say I'm tailing a log file that gets rotated out when an application shutdown occurs. Since the file changes, the tail stops. In order to continue ...
mVChr's user avatar
  • 405
2 votes
1 answer
6k views

How to make logkeys work over SSH?

i'd like to use logkeys to log keystrokes on an SSH'able Linux box. Logkeys intercepts a Device, can this be used for SSH access? Does an SSH session use a Device? or does SSH bypass this level of ...
user2846226's user avatar
2 votes
1 answer
1k views

Configuring journald.service to log its own debug_log messages

I have a Linux server that is rotating its logs every hour or so, and I'd like to understand why. I noticed that journald itself contains debug logging, like this, that might explain it. But I checked ...
Jason Orendorff's user avatar
2 votes
1 answer
1k views

I accidentally typed password into console's "login:" prompt

I accidentally typed my password into the console's "login:" prompt. Is there any place where the password history could have been saved? I am running Linux 3.13.0-71-generic, Ubuntu 14.04.3 LTS. ...
toliveira's user avatar
  • 153
2 votes
1 answer
761 views

Why don't I see new apache2 access log messages for a (wsgi) request?

This week I installed a simple Ubuntu 14.04 server on which I host a new website (which I built with Flask). The website works fine without any problems. I now wanted to check out the access log, in ...
kramer65's user avatar
  • 1,424
2 votes
2 answers
1k views

How can I log all my command-line activity?

I just had a Heisenbug that completely disappeared on me. I'm convinced that something funny must have happened when I compiled my program several days or a week ago. But sadly, my Windows (MINGW) ...
luser droog's user avatar
2 votes
3 answers
3k views

Is there log which record the operation of files in linux [duplicate]

Is there log which record the operation of files in linux. Just like, if some users rename or delete or add some files, can root user see the records of the operations. Do these logs exists in linux. ...
user237610's user avatar
2 votes
2 answers
127 views

Efficient environment for viewing logs [closed]

Currently I am using tail -f for viewing logs. Is there any more efficient/readable/better way of viewing logs?
Marcin Szymczak'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

15 30 50 per page
1
3 4
5
6 7
16