graypy
graypy copied to clipboard
Output the log to a File
Hey, is there a way to output the log to a file? I'm using a logstash sidecar in my pod that reads the file in gelf format
Did you check out standard Python logging features?
https://stackoverflow.com/questions/6386698/how-to-write-to-a-file-using-the-logging-python-module