Hello,
I've left my script running over the weekend, and now, it seems to be
working. However, I still don't get any messages to syslog from within
the script. Can you give me a hint on what's happening? Should I specify
a file somewhere?
Thank you for your help.
If syslog won't work, the alternative would be to manually write the
output in a file, which isn't very nice.
Adrian Popa wrote:
> Hello,
>
> I've written a custom module that searches for floods. I've tested it by
> using "testPlugin" and it used to run and perform as expected. However,
> now it doesn't seem to run at all. When I start nfsen, in
> /var/log/messages it says that it loads my module
>
> Sep 8 21:10:30 hail nfsen[18089]: Update profile live
> Sep 8 21:10:30 hail floodsearch: Launcher Cycle: Time: 200609082105,
> Profile: live, Module: floodsearch,
> Sep 8 21:10:31 hail nfsen[18089]: Run expire at Fri Sep 8 21:10:00 2006
>
> I've added syslog() entries in my script trying to debug my work.
> However, I can't find anything in /var/log/messages from these messages.
> It's like the run subroutine isn't running.
>
> I can't even find this entry in syslog:
>
> sub run {
> my $profile = shift;
> my $timeslot = shift;
>
> syslog('debug', "floodsearch run: Profile: $profile, Time:
> $timeslot");
> ...
>
> [EMAIL PROTECTED] plugins]# grep -R "floodsearch run:" /var/log
> [EMAIL PROTECTED] plugins]#
>
> My question is: What do I have to do to turn on syslog debugging for
> modules, and where are these logs stored?
>
> Apart from module support, nfsen seems to run ok. And module support was
> running fine today at 1 o'clock, so I'm confused, because I can't
> understand what's happened.
>
> Thank you for your time,
> Adrian Popa
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Nfsen-discuss mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/nfsen-discuss
>
>
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Nfsen-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nfsen-discuss