i have installed Sys::Syslog,but the log files is not created actually i want a error msg if i not give ant=y argument in it,please help me what changes i have to make in code?
use Sys::Syslog; $filename=$ARGV[0]; $name="system.log"; openlog($name, "ndelay,pid", "local0"); if (!defined $ARGV[0]) { syslog("info", "$filename is not there"); };
In reply to not creating log files by sumandas
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |