search for: filecreatemode

Displaying 3 results from an estimated 3 matches for "filecreatemode".

Did you mean: file_create_mode
2016 Feb 29
1
Discarding empty lines in rsyslog
...CentOS 6, but can't figure it out. I've searched through rsyslog documentation, and used Google but not found anything that matches my issue. I'm sending output of a program to rsyslog using "logger -t progname". I've got the following config snippet in /etc/rsyslog.d: $FileCreateMode 0644 if $programname == 'progname' then /var/log/prog.log & ~ This works. However, the program sometimes produces blank lines its output, and they get logged by rsyslog as well. I want to make rsyslog ignore empty lines. I am trying the following, but it doesn't work: if $programn...
2016 Jun 02
0
Rsyslog on C7
...n extreme performance hit #$ActionFileEnableSync on # Include all config files in /etc/rsyslog.d/ $IncludeConfig /etc/rsyslog.d/*.conf # File to store the position in the journal $IMJournalStateFile imjournal.state # Set the default permissions for all log files. $FileOwner root $FileGroup root $FileCreateMode 0644 $DirCreateMode 0755 $Umask 0022 # #### RULES #### # Log all kernel messages to the console. # Logging much else clutters up the screen. #kern.* /dev/console kern.crit :omusrmsg:* # Log anything (except mail) of level info or higher. # Don'...
2016 Apr 17
1
Rsyslog problems
...n extreme performance hit #$ActionFileEnableSync on # Include all config files in /etc/rsyslog.d/ $IncludeConfig /etc/rsyslog.d/*.conf # File to store the position in the journal $IMJournalStateFile imjournal.state # Set the default permissions for all log files. $FileOwner root $FileGroup root $FileCreateMode 0644 $DirCreateMode 0755 $Umask 0022 #### RULES #### # Log all kernel messages to the console. # Logging much else clutters up the screen. #kern.* /dev/console kern.crit :omusrmsg:* # Everybody gets emergency messages *.emerg :omusrmsg:* # Log any...