add singleton logging

This commit is contained in:
Gokul Mohanarangan
2023-07-11 11:01:22 +05:30
parent 3128813ca3
commit 58c9cdf676
10 changed files with 24 additions and 19 deletions

View File

@@ -1,7 +1,7 @@
import ast
import asyncio
import configparser
import logging
from utils.log_utils import logger
import time
import uuid
@@ -14,7 +14,6 @@ from aiortc.contrib.media import (MediaPlayer, MediaRelay)
from utils.server_utils import Mutex
logger = logging.getLogger("pc")
file_lock = Mutex(open("test_sm_6.txt", "a"))
config = configparser.ConfigParser()