syslog

  1. J

    Sending all cron output to syslog by default

    Hi everyone, I'm wondering if there's a way to send all cron output to syslog by default. I know, of course, you can can use shell redirection into a file, or even pipe a specific command's output to logger, and that'll get it to the appropriate log file according to syslog's configuration… but...
  2. rwv37

    Solved how does syslogd receive local messages?

    I've recently set up sysutils/loki to (hopefully) simplify log management. I currently have it working, but in a "first step" kind of way (specifically, syslogd on the local machine sends to it over UDP, and nothing but the local machine sends to it at all). I hope to replace syslogd with...
  3. Z

    How do I configure syslog to send everything from a process to daemon.log instead of messages?

    So I use sshguard, and it is very chatty, and it is clogging up my main syslog (/var/log/messages). I would like it if it would instead log all of its messages to /var/log/daemon.log, like dhcpd does with its DHCPREQUEST/DHCPACK messages. SSHguard doesn't seem to have any obvious way to control...
  4. T

    strftime for syslogd?

    Is there a reason that no one has added strftime formatting to the filename parsing for syslogd? It seems to me that a line in /etc/syslog.conf like: security.* /var/log/security/+%Y-%m-%d would be very useful. In today's world of append only filesystems...
  5. Sergei_Shablovsky

    Mixed MTUs on different NIC's interfaces on same bare metal border firewall server

    Dear FreeBSD Gurus and Networking Engineers! SETUP FreeBSD (14+) on bare metal 2xCPU pack server with several NICs (exist both 1G copper and SFP/SFP+ interfaces); separate LANs for internal monitoring and for other (DB cluster, backend servers, branch office, etc...) physically on separate...
  6. R

    cron name in syslog

    Good day everyone. I noticed that cron messages in syslog contains full path in programname instead of short name. (e.g /usr/sbin/cron[31067]) looks like only cron does that. This makes filtering difficult in rsyslog. Is there a way to change this behavior? Jun 30 19:40:30 hostname ntpd[684]...
  7. M

    Syslogd Cyrillic symbols issue

    Hello everybody. Got some issue with syslogd and messages which contain Cyrillic symbols. Syslog turns it in some unreadable garbage. There is a device that sends Cyrillic messages to syslog, it's realy hard to understand what does it mean. Have made some test writing the same message to...
  8. ilya-shmel

    Add usermod, passwd and pkg events to syslog(-ng)

    Hello! I work with FreeBSD 13.2-RELEASE amd64 and send logs to a log-collector server (Debian 10 Buster). There's syslog-ng that have the config. Here's some additional lines to send logs to the remote server: 161 #log { source(src); destination(loghost); }; 162 destination lc_net {...
  9. T

    Solved isc-dhcpd log to syslog

    I have been using isc-dhcpd for a while now; however, I am not seeing any logs written to /var/log/messages or /var/log/dhcpd.log. /usr/local/etc/dhcpd.conf log-facility local7; /etc/syslog.d/isc-dhcpd.conf !dhcpd *.* /var/log/dhcpd.log #local7.debug...
  10. E

    when i restart syslog the syslog.conf return to default configuration

    Hi , I'm new to FreeBSD and I'm trying to make the server to send all the system logs to a remote server and I'm failing because every time I modify the /etc/syslog.conf file and once I restart syslog service /etc/rc.d/syslogd restart the /etc/syslog.conf file return to default configuration...
  11. G

    FreeBSD printing logmsg in cycle

    my mistake probably overload system. I configured syslog client (maybe server too). After boot on console in cycle printing "logmsg: pri 2, flags 17, from Device". How I must solve this problem? Thank so much
  12. Q

    syslog.conf selection by ident

    I have not found anywhere in the docs how to make selections from syslog by ident. I use chrooted Unbound and I've configured it to write its log to syslog. I've found in syslog.conf an example how to select records from syslog by program name: !unbound *.* /var/log/unbound.log !* But...
  13. poorandunlucky

    Solved How to use syslog to log maintenance scripts' activity?

    Hey, would anyone be able to tell me how I could use syslog to log stuff I do in my management scripts? Like I'd like to start writing scripts to automate some of the system's maintenance, but one of the things that's stopping me, I think, is that I don't really have an easy way to log what's...
  14. andrian

    kernel: WARNING (zmc): ioctl sign-extension ioctl

    Hello people. I have the problem. I set up zoneminder and he very fine works. I use two usb web-camers over webcamd. My problem is that: after run zoneminder in the /var/log/messages writes intensely many strings. Aug 25 02:00:00 freebsd kernel: WARNING pid 52962 (zmc): ioctl sign-extension...
  15. S

    syslog config for sftp logging

    I'm on FreeBSD11. I changed syslog config file to log sftp actions in a file, but it doesn't work. /etc/ssh/sshd_config Subsystem sftp /usr/libexec/sftp-server -f LOCAL5 -l INFO /etc/syslog.conf local5.info /var/log/sftp/sftp.log Then I...
  16. M

    Solved ARP log to a separate file

    Hi, Is there any way to redirect all ARP log messages to a separate file? Those messages look like this: Apr 1 15:03:59 router kernel: arp: fa:4b:bc:12:7a:7d attempts to modify permanent entry for 192.168.29.30 on vlan3 Right now I have them in /var/log/messages in pair with a lof of other...
  17. quamenzullo

    Solved Logging to different files with pf

    Hello everyone, I would like to order a little bit the informations logged by pf. So, I have tried two things: 1. I have added some "(to pflog<n>)" after "log" in the pf rules, like here: pass log (to pflog2) quick on $ext_if proto tcp from $ssh_authorized_ip to $ext_if port ssh Problem is...
  18. L

    syslogd hack field

    Hello everyone, here goes my first question! I have got many distributed pfSense devices through the internet. Those machines use syslogd to log events to a remote machine running rsyslog. My server can not manage to identify the source of the messages, at least not from its host field, as...
Back
Top