I found out about the change from syslog to rsyslog just a bit ago, but hadn't had a chance to see how to change the setting. I'll work on that, but your response also helped in that I didn't know those pid's were in /var/run. Nice 2 know.
Thanks,
Narnie
---------- Post updated 02-07-10 at 04:13 PM ---------- Previous update was 02-06-10 at 08:34 PM ----------
Well, after looking at it, I don't see that cron is started here nor it's log level set.
How does one change the log level using /etc/rsyslog.d/50-default.conf? It seems pretty much to be a file for letting rsyslog know WHERE to log it, not so much as HOW to log it (as in which log level)
Here is the file:
This also doesn't show how the initial cron daemon is started to begin with. I'll bet the log level is started there with the -L argument.
I'm beginning to get the picture, but I looked at the above link and it doesn't describe the various log possibilities. You mention .err, but how do I learn about other options?
The priority is one of the following keywords, in ascending
order: debug, info, notice, warning, warn (same as warning),
err, error (same as err), crit, alert, emerg, panic (same as
emerg). The keywords error, warn and panic are deprecated and
should not be used anymore. The priority defines the severity of
the message.
I would not change the log file location for cron, you confuse the hell out of any other system admin. who needs to look at your machine, likwise there may already be scripts in place looking at /var/log/cron.
What if I wanted to turn off ALL logging of crons? Even tho it seems in my config cron is set not to log by being commented out, it IS logging.
What is happening is that I'm getting a huge backlog of cron mail processes because they get hung in trying to mail log reports to the running user as per this thread:
I was hoping that turning off cron jobs might be a test to see if that will solve that problem. The only other problem is that I really would like log level 2 where it will send a mail when the cron job starts and then stops. First, I just want to stop the accumulation of cron jobs.
for solaris 11, how does one change the run level at boot from 3 to 2?
i checked "/etc/inittab" file where i usually change it in other *nix but it seems solaris is not using it. (1 Reply)
We have a RHEL 5.8 server at the production level and we have a Java application on this server. I know of the SSL certificate generation at the OS (RHEL) level but it is implemented on the Java application by our development team using the Java keytool. My doubt is that is the SSL generation can... (3 Replies)
Hi,
I am using perl DBI and mysql-5.0.26 on unix.
Could you please let me know or point to source on how to set isolation level to READ COMMITTED .
~Thanks (2 Replies)
Hi everyone,
Can you help me on how to set up the debug level of RHCS?
I need more information on the cluster.log so that i can futher troubleshoot our problem being encontered now.
Thanks.:) (1 Reply)
Hi,
I was trying to copy/transfer some new and old files from one server to another server. I found the permission of the files are different in both servers. I tried to tar all the files and then send to the other server, and then also the permission level is different after copying the files.... (4 Replies)
i have bash script with some batches, and when i putt log level 4 in script i get error while executing or if i rung script.sh with parameter log level 4.
i appriciate some advice :) (3 Replies)
Hi,
I can use 'crontabs –e' and do all the scheduling I like. However I would like to auto send myself just the cronjobs logs that fail. That is to say the PIDs that fail and the related lines with those PID’s only. (Not the full set of logs) Has anyone done this work? Or does an AIX 5.3 tool... (0 Replies)
Under, Solaris 10 I have the following problem:
A script executed at command line runs with nice level 0, as expected.
Same script started under (user) crontab runs with nice level 2.
I would prefer it run at 0. Is this possible? If so, how?
Thanks. (0 Replies)