similar to: How to Separate Log Files via 'logging' Statement?

Displaying 20 results from an estimated 10000 matches similar to: "How to Separate Log Files via 'logging' Statement?"

2014 Aug 06
1
rsyslog does not log on a separate partition/FS mounted on /var/log/
The system is an AWS Instance based on a community CentOS 6.4 AMI snapshot. The vdisk is as follows as shown below [1] The root LVM contains /var/log/ I have attached another block device with ext4 FS. I copied the files from /var/log to this device (mounted on /mnt) and then changed /etc/fstab to mount this device on /var/log on boot. However, I do not see anything being logged in
2023 Mar 13
1
full_audit syslog logging question
In case anyone is interested, I found the problem. I was running samba in a container that did not have any syslog service (rsyslogd or syslog-ng) running. By default, samba syslog only sends messages to the system's syslog socket and there was nothing listening on it so the messages just got dropped. I put rsyslogd in the container and configured it to listen on the syslog socket and am
2020 Jan 02
2
Access Error for Roaming Profiles Share
Hi, I am trying to address some error messages that are hitting the log files for two 4.9.5-Debian file servers in our all-Samba AD domain. Most prominently "connect to service Profiles initially as user MYDOMAIN\tc-mj00y2ps$ (uid=11128, gid=10515) (pid 1634)" "../source3/smbd/uid.c:453(change_to_user_internal)" "change_to_user_internal: chdir_current_service()
2018 Jan 19
4
Internal DNS logging
Thanks Denis, I was looking for the option 'dns:x' in the wiki but I didn't find it. Now it works. I used    log level = 3 auth:3  dns:0 auth_audit:3 gives me unknown class message But where I can find a complete list of classes for log level? I'll also give a try on the last version of samba with json. Thanks again Giuseppe On 1/18/2018 4:52 PM, Denis Cardon wrote:
2013 Oct 28
1
rsyslog not loading relp
centos 6.4, setup to be syslog server. Doing remote syslog using tcp works fine, so now want to add relp. I installed the rsyslog-relp package and told rsyslog.conf to use it: # RELP Syslog Server: $ModLoad imrelp # provides RELP syslog reception $InputRELPServerRun 20514 when I restart rsyslog I am told it does not like my InputRELPServerRun line: Oct 28 13:43:54 scan rsyslogd: [origin
2018 Sep 06
6
rsyslog listening on high port
Attempting to lookup why rsyslogd is listening on the high port UDP/51427. Have not succeeded in what this port is used for and what directive controls what interface it binds to. [root at bedrock ~]# netstat --listen --inet --program --numeric | grep syslog udp??0??0 0.0.0.0:51427??0.0.0.0:*???66655/rsyslogd? -- Adam Tauno Williams <mailto:awilliam at whitemice.org> GPG D95ED383
2019 Oct 15
2
splitting/duplicating log files - how?
On 15/10/2019 10:54, Rowland penny via samba wrote: > On 15/10/2019 10:29, lejeczek via samba wrote: >> hi everyone >> >> I'd like to ask, with having basic logging in config as here: >> ? ?? log file = /var/log/samba/log.%m >> ?? max log size = 5000 >> ?? log level = 1 auth:3 tdb:5 passdb:3 sam:3 winbind:0 idmap:3 >> >> log files get
2016 Apr 17
1
Rsyslog problems
Hi, My rsyslog is not working as expected. I have some thing in rsyslog.d that do well, like this: # Log all iptables stuff separately :msg, contains, "iptables: " { action(type="omfile" file="/var/log/iptraf/info") } No problems with that. Bu what's in /etc/rsyslog.conf like: mail.* /var/log/mail/info don't do anything at all. Rsyslogd -N1 is OK,
2010 Jul 28
2
Bug#590684: [logcheck-database] rules for rsyslog
Package: logcheck-database Severity: wishlist Tags: patch Hi, ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ kernel: imklog 3\.18\.6, log source = /proc/kmsg started\.$ ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ rsyslogd: \[origin software="rsyslogd" swVersion="3.18.6" x-pid="[[:digit:]]+" x-info="http://www.rsyslog.com"\] restart$ Hendrik -- Hendrik Jaeger
2015 Sep 15
2
rsyslog for chrooted sftp users has stopped working -- Centos 6.6
Hello everyone, We have some chrooted sftp-only users on a CentOS release 6.6 server. The server had been logging their actions, but after recent updates the logs have stopped. The server correctly logs non-chrooted users: Sep 14 17:47:24 vsecure4 sshd[1981]: Accepted publickey for jcours from 192.168.10.166 port 42545 ssh2 Sep 14 17:47:24 vsecure4 sshd[1981]: pam_unix(sshd:session):
2018 Apr 11
2
Logs size and rotate log
Hi! I enabled Audit log um my samba dc. But i want configuration log size and rotation. my config : log size: max log size = 5000 https://wiki.samba.org/index.php/Configuring_Logging_on_a_Samba_Server#Setting_the_Maximum_Log_File_Size for rotation I did not find anything But option "max log size" dont work .. Any ideia ? samba v 4.8.0 Ubuntu 16.04 My conf: log level = 1
2008 Feb 03
3
Bug#463793: rsyslogd restarts are not ignored
Package: logcheck-database Version: 1.2.63 Severity: normal --- Please enter the report below this line. --- In fact, there does not appear to be any consideration of rsyslogd's behavior. Attached is a rule to ignore restarts. --- System information. --- Architecture: i386 Kernel: Linux 2.6.22-3-686 Debian Release: lenny/sid 990 testing ftp.debian.org 600 unstable
2008 Jun 11
2
RHEL/CentOS5.2 and rsyslogd
Hi there, I am slightly confused by the RHEL release notes and an earlier thread here about rsyslogd, so I hope someone can clear this up for me; I see that rsyslog is included in RHEL as of 5.2 (and so will be available in CentOS when 5.2 is ready) however there is no indication of whether it has been made the default syslogger or not - is it an optional package or installed by default on a
2018 Mar 19
2
Permissions on /var/log/dovecot
On 2018-03-19 (13:19 MDT), Odhiambo Washington <odhiambo at gmail.com> wrote: > > Plus, if dovecot is able to write to a file owned by root:wheel, then there is a BIG problem right there!!! Logging is generally done by syslogd, not directly by the process. So no, dovecot is not writing to a file owned by root anymore than postfix is writing to mail.log which is also owned by root.
2018 Mar 19
2
Permissions on /var/log/dovecot
On 2018-03-19 (14:20 MDT), Odhiambo Washington <odhiambo at gmail.com> wrote: > > I have been running FreeBSD since 1997, so I know quite a lot about it! > I know about /etc/syslog.conf, but you do realize now that you are conflicting yourself? No, I am not, I pointed out that dovecot does not writ ether logs, but that is a task generally managed by syslogd. then I said that in my
2018 Mar 27
2
dovecot logging
Hello, I'm currently playing with a number of dovecot instances to evaluate my "next generation setup" For now I run 6 instances of dovecot, one per docker container: - 2x redirector - 2x backend #1 - 2x backend #2 All docker container use syslog. And there the problems starts. Every instance identify itself as "dovecot" That's not helpful :-/ I tried to set an
2020 Oct 01
2
Failed auth attempt i don't understand.
Le 01/10/2020 19:27, Rowland penny via samba a ?crit?: > On 01/10/2020 18:09, karel de macil via samba wrote: >> Hi all, >> >> when i try to authenticate against my AD (rdesktop authentication) i >> got a wrong password/logname message despite my logname and password >> being exact , in the log i have the following . >> >> Nothing wrong for me.
2016 Apr 26
2
systemd-journald corruption
I have several recently-installed CentOS 7 servers that keep having systemd-journald corruption (which stops ALL logging, including syslog). Interestingly, they are all spam-scanning servers running amavisd-new (so could be some particular pattern is triggering it). Is there a "supported" way to just cut systemd-journald out of the picture and have log entries go straight to rsyslogd?
2015 Dec 04
3
Running sshd with Privilege Seperation drops connection on password change
Hi folks, I came across this issue on both stock CentOS(v6.4) and Ubuntu(14.04 LTS) and was wondering if any of you have seen it. As far as I can tell this seems like a day-1 bug to me. PROBLEM: If I expire a linux user's password (passwd -e <user>) and then log in via ssh, it will prompt you for a password change. On changing the password successfully, sshd will drop the connection
2020 Apr 07
1
Best way to verify LDAP connections to Samba in AD mode
I am running Samba in AD mode with 3 Samba DCs. I am trying to verify that I really am seeing all incoming connections in the log files to help trouble shooting. We work with Sernet who are AWESOME people, especially Bjorn, but I was wondering if there were any other ideas. Right now we have "log level = 1 auth_audit:3 auth_json_audit:3" set in our smb.conf. Are there any other ways