Forums

Different loggers in different apps within the same django project. Why are they logging to the same file?

The desired behaviour is:

I have have several apps within a django project, each of which with their own handler pointing to their own logging file.

Whilst on a dev server, each app has its own logging handler which writes to a separate file.

Here, the FIRST app which logs creates a log file, and then every other app logs to the same file.

Is there some proprietary logging jiggery pokery on PythonAnywhere which I don't yet understand?

EDIT: SOLVED! Thankfully, it was just that I stupidly routed the feedback page of one app to a handing function in another app. Python anywhere working as expected. It's always the users...

Glad you solved that!