can send logs to oracle cloud

This commit is contained in:
2022-02-25 15:58:39 +01:00
parent 00d4196a3e
commit 30cc186ebc
7 changed files with 54 additions and 4 deletions
+9
View File
@@ -0,0 +1,9 @@
import logging
def init_logger():
logging.basicConfig(filename="appointment.log",
filemode='a',
format='%(asctime)s,%(msecs)d %(name)s %(levelname)s %(message)s',
datefmt='%D:%H:%M:%S',
level=logging.INFO)