About 52,500 results
Open links in new tab
  1. How to check syslog in Bash on Linux? - Stack Overflow

    May 20, 2011 · In C we log this way: syslog( LOG_INFO, "proxying %s", url ); In Linux how can we check the log?

  2. linux - How to view syslog in ubuntu? - Stack Overflow

    Jun 6, 2017 · Follow up from this question, LogBack Syslog not working java I use command below to view syslog in ubuntu 16.04 but get below result. Is it the correct way to view? …

  3. c - Where does linux store my syslog? - Stack Overflow

    Jun 11, 2012 · Logging is very configurable in Linux, and you might want to look into your /etc/syslog.conf (or perhaps under /etc/rsyslog.d/). Details depend upon the logging …

  4. What is the command to display the last TEN lines in file: …

    Mar 21, 2014 · The answer is correct, but can you expand it. Tell about tail more. For example tail -15 /var/log/syslog will show last 15 lines etc...

  5. How to get syslog file in Redhat - Stack Overflow

    Aug 24, 2016 · 0 RHEL 7.x uses journald for logging, your installation might not have syslog redirection enabled. To view system log use journalctl.

  6. linux - How to view syslog entries since last time I looked - Stack ...

    Sep 27, 2019 · I want to view the entries in Linux /var/log/syslog, but I only want to see the entries since last time I looked (preferably create a bash script to do this). The solution I thought of …

  7. Filter any system log file by date or date range - Ask Ubuntu

    Apr 5, 2019 · by date+hour? What I tried: $ cat /var/log/syslog | grep -i "Apr 5" | grep -i "error\|warn\|kernel" It works as expected on the syslog file, but not on the kern.log file for …

  8. How can I log messages from an ASP.NET Core ... - Stack Overflow

    Just send stuff to the /dev/log socket and linux will take care of the rest - write to a file, rotate logs, etc etc. So I wrote a (very!) short C# file that just calls the built-in syslog() function from libc …

  9. files - var/log/syslog growing indefinitely in size - Ask Ubuntu

    Mar 16, 2016 · 13 I had similar issues, my syslog file had 115GB and syslog.1 another 115G, plus multiple compressed files. 1st step find the source: watch tail /var/log/syslog you will probably …

  10. Extract data from log file in specified range of time

    172.16.0.3 - - [31/Mar/2002:19:30:41 +0200] "GET / HTTP/1.1" 200 123 "" "Mozilla/5.0 (compatible; Konqueror/2.2.2-2; Linux)" i want to extract data specific intervals. For example I …