Python Forum
Logging fails intermittently
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Logging fails intermittently
#1
Hi,

In my python script have redirected logs to a file by importing "logging" module.
And the script is running as a service in Linux environment by creating a service file /etc/systemd/system

Generally the script is working fine, but intermittently logs are not redirected properly and a service restart requires to fix this issue.

Could you please help me some way to spot the issue or is there any way to trace the logs based on service?
Or is there any other alternate suggestion to achieve this?

Thanks & Regards,
Nachu
Reply


Messages In This Thread
Logging fails intermittently - by Nachu - Aug-28-2018, 07:42 AM
RE: Logging fails intermittently - by gontajones - Aug-28-2018, 07:42 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020