florist.api.monitoring.logs module

General functions and definitions for monitoring.

get_client_log_file_path(client_uuid)[source]

Make the client log file path given its UUID.

Will use the default client log folder defined in this class.

Parameters:

client_uuid (str) – (str) the uuid for the client to generate the log file.

Return type:

Path

Returns:

(pathlib.Path) The client log file path in the format f”{CLIENT_LOG_FOLDER}/{client_uuid}.out”.

get_server_log_file_path(server_uuid)[source]

Make the default server log file path given its UUID.

Will use the default server log folder defined in this class.

Parameters:

server_uuid (str) – (str) the uuid for the server to generate the log file.

Return type:

Path

Returns:

(Path) The server log file path in the format f”{SERVER_LOG_FOLDER}/{server_uuid}.out”.