mirror of
https://github.com/aljazceru/python-teos.git
synced 2025-12-17 22:24:23 +01:00
22 lines
508 B
Python
22 lines
508 B
Python
import logging
|
|
from apps.cli.logger import Logger
|
|
|
|
# PISA-SERVER
|
|
DEFAULT_PISA_API_SERVER = "btc.pisa.watch"
|
|
DEFAULT_PISA_API_PORT = 9814
|
|
|
|
# PISA-CLI
|
|
CLIENT_LOG_FILE = "pisa-cli.log"
|
|
APPOINTMENTS_FOLDER_NAME = "appointments"
|
|
|
|
CLI_PUBLIC_KEY = "cli_pk.pem"
|
|
CLI_PRIVATE_KEY = "cli_sk.pem"
|
|
PISA_PUBLIC_KEY = "pisa_pk.pem"
|
|
|
|
# Configure logging
|
|
logging.basicConfig(
|
|
format="%(message)s", level=logging.INFO, handlers=[logging.FileHandler(CLIENT_LOG_FILE), logging.StreamHandler()]
|
|
)
|
|
|
|
logger = Logger("Client")
|