Re: Logging in management commands

2019-10-01 Thread charettes
/27877 Le samedi 28 septembre 2019 19:13:01 UTC+2, Christian González a écrit : > > Hi, > > i just stumbled upon logging in management commands I saw that there is > an own system of logging. > > When creating custom mgmt cmds, you have to write logging output to >

Logging in management commands

2019-09-28 Thread Christian González
Hi, i just stumbled upon logging in management commands I saw that there is an own system of logging. When creating custom mgmt cmds, you have to write logging output to     if options["verbosity"] >= 2:         sys.stdout.write(message) this is a little inconvenient, and much le