Regards.
To unsubscribe from this group and stop receiving emails from it, send an email to apscheduler+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to a topic in the Google Groups "APScheduler" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/apscheduler/sHcboAckapA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to apscheduler+unsubscribe@googlegroups.com.
...or something else like this...?sched.logger = my_loggersched = apscheduler.scheduler.Scheduler()Hi Alex,Thanks for the info - does this mean I could 'set' it to a logger that I have custom configured already with something like:
Thanks again for your help.
Regards,
Matt.
--Matt McQuilty0422-45-2363
On 25 February 2014 11:04, Alex Grönholm <alex.g...@nextday.fi> wrote:
14.02.2014 01:44, ssdev kirjoitti:
Hello,Sorry for the delayed answer. You can access the scheduler's logger as apscheduler.scheduler.logger (or via getLogger('apscheduler.scheduler')).
I'm trying to get APScheduler to log its output (and eliminate the "no handlers configured" error, too).
All of the pages I've found simply say "use logging.basicConfig()" to set up Python logging.
I am already using a customised logger for other script output, and I'd like to route APScheduler's output through this also.
How should this be done? Can I access a scheduler's logger object and change it or something similar?
Regards.
--
You received this message because you are subscribed to the Google Groups "APScheduler" group.
To unsubscribe from this group and stop receiving emails from it, send an email to apscheduler...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to a topic in the Google Groups "APScheduler" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/apscheduler/sHcboAckapA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to apscheduler...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "APScheduler" group.
To unsubscribe from this group and stop receiving emails from it, send an email to apscheduler...@googlegroups.com.
Hi Alex,
Currently, I have a module that returns a logger for each process which calls it:
Are you sure you can't use something like logging.fileConfig() or logging.dictConfig()? Those are quite handy. Regardless, you should add some handler for the root logger.