Questions tagged [logging]

Adding messages, mostly warnings and/or errors, to a log file.

Filter by
Sorted by
Tagged with
0
votes
2answers
208 views

How to Solve Increasing Size of MySQL Binlog Files Problem?

MySQL Binlog files count is increasing day by day and their size is increasing in gigabytes. How can I stop the increasing size of binlog files? They are fulling the disc space.
0
votes
1answer
63 views

How to print in current terminal new logs arriving in a logfile?

I can't find the answer to my question, and I don't know how to proceed... I would like to print in my current terminal (possibly only for a specific user) new logs added to a logfile, without running ...
0
votes
1answer
33 views

Accessing Cronjob Log files on AWS EC2 instance

I would like to start by expressing my appreciation to any help I receive. I am very new to AWS and ubuntu servers. I run a daily python job on my EC2 instance and it fails every Friday for some ...
1
vote
1answer
86 views

What should I do if my server is under the attack?

I have a mail server on Ubuntu 20.04. Yesterday I set up UFW firewall which looks like: root@vmi514622:~# ufw status verbose Status: active Logging: on (low) Default: deny (incoming), allow (outgoing),...
1
vote
0answers
29 views

Cron job & logger commands

I have a backup cron job that rsync files between 2 locations. To get some logged output that it has run, the job has this syntax: #!/bin/bash logger "Seafile File System Backup Started" ...
2
votes
0answers
46 views

log everything from a byobu session

I am looking for a way how to preserve all console input and output of byobu sessions. I am aware of these questions: How to save scrollback history in byobu? how can I log the session with byobu ...
0
votes
0answers
92 views

Ubuntu 20.04 LTS: How to increase Linux console verbosity?

I have passed the kernel parameter ignore_loglevel and commented out /etc/sysctl.conf and /etc/sysctl.d/10-console-messages.conf line containing "kernel.printk = 4 4 1 7". I have also ...
1
vote
1answer
62 views

how do i enable boot logging on ubuntu?

perhaps its server envy, but I am looking around on a linux server hard drive and saw a file called "bootlog" which holds entries like: boot Sat May 5 02:50:51 2018 shutdown Thu ...
1
vote
1answer
189 views

Internet connection monitor with logging

We are having intermittent issues with our internet connection in a community house of nine people. It seems to cut out for short intervals so I am looking for an app to test connectivity at regular ...
0
votes
1answer
29 views

Logging inputs and outputs in terminal without weird characters

I'm looking for a way to log all the input and output on terminal during a session, but I can't properly find an answer to do it. This this post suggested using script screen.log to do so and it seems ...
0
votes
1answer
57 views

Lines of Log Files referenced by Logwatch Warnings (Ubuntu Server 18.04)

How do I find specific lines in Log Files that are referenced by Ubuntu Logwatch like the ones marked below... within Amavis and postfix? Going by date I can grep all the instances of "warning&...
0
votes
0answers
15 views

Log maximum disk I/O usage per service in past 24 hours

I want to know how much disk I/O has each service used in the past 24 hours? And which service has been used the most I/O? iotop command just shows the real time current usage of I/O. And the sar -d ...
0
votes
0answers
32 views

Are log files safe to delete? [duplicate]

My primary partition is running out of storage so I scanned my system for files larger than 50MBs using sudo find / -type f -size +50M -exec du -h {} \; | sort -n and I got 3.4G /var/log/user.log ...
1
vote
0answers
194 views

How to separate logs from syslog on microstack

I have microstack up an d running. I want to debug a problem, but all logs are in syslog, which is a pain, because its way too much data. Openstack defaults every service to a different logfile, but ...
1
vote
3answers
159 views

Logging sensors data every second

I'm new to this forum, so if I've made something wrong, please tell me. I made some research, but I can't understand the correct answer to my problem. I need to save CPU Temp, load and fan speed in ...
2
votes
1answer
722 views

Newly compiled kernel hangs at boot with no output

I need to develop some stuff in the kernel for my honours project but im stuck at simply getting a stock kernel to compile and boot. I've followed a few recipes but all of them just result in the ...
0
votes
1answer
469 views

Why does the output of journalctl sometimes include 'skipping…'

For example : journalctl -r -- Logs begin at Thu 2020-04-23 18:53:52 PDT, end at Thu 2020-07-02 10:40:23 PDT. -- lines removed by me for this post Jul 01 16:15:55 asus at-spi-bus-launcher[2801]: ...
1
vote
0answers
866 views

-bash: echo: write error: No such file or directory

I am trying to log iptables actions so I can trouble shoot why a FORWARD rule isn't working and I need to run this command: echo ipt_LOG >/proc/sys/net/netfilter/nf_log/2 this is after loading ...
0
votes
0answers
12 views

Automatically logs in after installing 3rd party finger print program

I installed a 3rd party program for fingerprint activation for my Asus Vivobook S510U. That program didn't work and I removed that, but from then my ubuntu system is automatically logging in without ...
0
votes
0answers
49 views

Why won't all getssl output log from cron

I have a LAMP server set up to serve a handful of sites, and I am using the getssl script to create the LetsEncrypt certs for those sites. I had set up a cron job to renew those certs as recommended, ...
2
votes
0answers
921 views

Where is location of a log file of chromium on Ubuntu 19.10?

I can't found a chromium log file in default location, Where is it? According to following page, default location is ~/.config/chromium . But there is no log file in this directory. Chromium User Data ...
0
votes
0answers
191 views

Exclude entries from being written to syslog

Question: I want a specific log message (pattern) to be written to syslog. How can I achieve that? Example: I imagine a solution like writing something like this in the appropriate logfile: exclude ...
2
votes
0answers
173 views

Log disks spin up and spin down

I have a file / media server running on Ubuntu 18.04. It has 1 SSD on which Ubuntu is installed and 4 HDD's for various files. I found some information on how to log the disks activities and that ...
1
vote
1answer
78 views

Logging everything to diagnose random shut downs

My laptop started randomly shutting down. For example, I'm skyping and then -boom- all of the sudden the screen goes black and it has shut down. Once I restart it, everything seems to work as normal. ...
0
votes
1answer
29 views

Logging broke for authentication only

I currently am unable to have authentication attempts logged in /var/log/auth.log . Everything was working properly and log files were rotated as expected until last night issue. My Ubuntu server ...
1
vote
0answers
140 views

My system is creating 1GB of syslog file Docker errors per minute

I am using Ubuntu 18.04. Recently whenever I start my PC, I get a error message saying 0 bytes left in your /root directory. I used the du command and found out that /var/log/syslog and /var/log/...
5
votes
1answer
2k views

Where do log messages go with journald and rsyslog

On Ubuntu 18.04 both journald and rsyslog are installed. Both serve the same purpose of collecting log messages and storing them. So we have two programs doing the same work here. What I could find ...
0
votes
0answers
279 views

Rsyslog.conf delete, doesn't reinstall

I have Ubuntu 18.04. I am trying to set up rsyslog service as my default logging server. I messed up configuration and didn't save a copy of the default file before modifying it. I know, stupid. I ...
0
votes
1answer
201 views

Where should I store server build logs?

When I build an Ubuntu cloud VPS (typically DigitalOcean), I have a manual build guide that I have written and maintain. As part of the build guide, I leave myself notes on the server in text files so ...
0
votes
0answers
87 views

ubuntu server user session logging

I have an ubuntu server, which acts as a gateway to access my other internal servers over ssh. So normally, user ssh to this ubuntu server first(to a normal account) and once inside this, they ssh to ...
1
vote
0answers
147 views

Keep error/crash notifications, but stop Ubuntu from “calling home”? [duplicate]

Is there a way (in Ubuntu 16.x, 18.x) to disable all error reporting? I want to keep being notified but disable any and all „calling home“. I do not want to disable being personally notified, just ...
0
votes
1answer
2k views

Bind logging not working

I am running Ubuntu 18.04.2 and BIND 9.11.3 I am trying to enable logging by adding the following to /etc/bind/named.conf.local logging { channel bind.log { file "/var/log/bind/bind.log" ...
0
votes
1answer
89 views

insserv: Starting glassfish depends on grafana-server and therefore on system facility `$all' which can not be true!

I have installed ELK Stack 6.7.1 in a VPS and the agent filebeat in another vps which has running glassfish 4.1 and grafana running but running filebeat to dump the glassfish logs: sudo update-rc.d ...
0
votes
1answer
150 views

I want to store multiple logs at /var/logs, into different folders by the name of the log files

For example, create folder syslog and store all syslog*.gz into that folder and so on..
0
votes
1answer
656 views

How to disable a particular log message from being saved to var/log?

I'm making a second attempt at resolving this issue Every time I'd shut the PC off, this error would print what looked like millions of times per second, so I'm almost positive this is the culprit ...
6
votes
2answers
1k views

Rewriting logs received via syslog from another machine

I have Machine A, which is a pfsense installation, that sends logs via syslog to a Ubuntu box. The Ubuntu Box will have to rewrite the logs, to replace for instance host names and change format a bit. ...
0
votes
0answers
37 views

Is there any logging of the basic access to the PC with Ubuntu?

Is there any logging of the basic access to the PC with Ubuntu. Also that PC is not auto-locked in some time, only the screen is dimming. For example, someone comes nearby, touches the mouse, and the ...
13
votes
1answer
14k views

Understanding UFW log

What does this UFW log mean? Has already asked a similar question, but I want to know explicitly what each line of the UFW log means Feb 6 16:27:08 jonasgroenbek kernel: [71910.873115] [UFW BLOCK] ...
1
vote
2answers
3k views

Best way to find out why Ubuntu 18.04 crashed. Where to find appropriate logs?

I just found out that my Ubuntu 18.04 machine crashed 20 hrs ago and switched off. How can I find out why? Is there an event logger? Thank you for your help!
1
vote
0answers
391 views

Logstash does not compress the old logs

We are using: root@server:~# /usr/share/logstash/bin/logstash --version logstash 6.2.4 on: root@server:~# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu ...
0
votes
1answer
179 views

Synergy keeps logging non-stop

i've been using synergy to use my desaktop's mouse &keyboard on my laptop when home. Now, it's been working really well for me, except that I've realized that the instance on my desktop will eat ...
8
votes
1answer
5k views

How to **really** suppress kernel messages during boot?

I have Ubuntu Server 18.04 LTS. I want to suppress kernel messages shown on console during boot. (The type of [0.1234] kernel message thing that floods the screen ). THIS DID NOT WORK: Changing /etc/...
3
votes
3answers
5k views

Unbound DNS sever does not log anything when I make a query

I have recently started using unbound dns. I have configured all the things I need properly. But the server doesn't log when I make a query. I have no errors in the unbound.conf file The following is ...
4
votes
3answers
7k views

rsyslog template date/time format with seconds

My current template configuration of rsyslog looks like this: /etc/rsyslog.d/00-samba-audit.conf template(name="sambalog" type="string" string="%$year%-%$month%-%$day% %$hour%:%$minute% %HOSTNAME% %...
4
votes
0answers
927 views

How to move logs out of journalctl, to a file with daily rotation & archiving?

I have a particular custom service registered in systemd, which spews a lot of logs to stdout/stderr. I want to remove the logs from journalctl output (because they generate a lot of noise there, and ...
1
vote
0answers
128 views

Track all process activity in real or near real time on Linux

I want to track the activity of processes. For processes, forks, file access, etc. should be tracked. Also files, data transfers, authentication events, authorization events, and similar. It should ...
0
votes
1answer
234 views

User creation remote logging

I am trying to centralize logs from different server to one server. I can centralize logging information via adding auth.* @server_ip:port in /etc/rsyslog.conf from the clients, but now I don't ...
0
votes
1answer
174 views

can't find logs while copying files in usb

Where can I find logs for copying files from local to USB? I'm using GUI to copy files. OS:Ubuntu 16.04 LTS
1
vote
1answer
853 views

Ubuntu 16.04.4 LTS random freezes after few hours of uptime

Ubuntu has been freezing randomly for some time now. Usually after a freeze, the crash screen would be up and it would show the exec path as update-notifer. Today after 9 hours of uptime it froze ...
9
votes
1answer
16k views

Where do I find stderr logs?

I was sending a message to stderr with echo "Mayday!" 1>&2 Now I'm trying to find it in the logs but couldn't find it anywhere. It's not in /var/log/syslog and neither in journalctl, ...

1
2 3 4 5 6