Python : clear a log file
Pergunta
I develop a client-server application and I have log in the server, so I use the logging module. I would like to create a command in the server to clear the file.
I have test with os.remove() but after, the log doesn't work.
Do you have an idea?
Thanks.
Nenhuma solução correta
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow