# -*- coding: utf-8 -*-
# Copyright © Cloud Linux GmbH & Cloud Linux Software, Inc 2010-2018 All Rights Reserved
#
# Licensed under CLOUD LINUX LICENSE AGREEMENT
# http://cloudlinux.com/docs/LICENSE.TXT
#
import datetime
import fcntl
import sys
import psutil
class ClAuditLog:
def __init__(self, log_file_name: str):
self._log_file_name = log_file_name
def info_log_write(self, msg: str = ""):
dt_now = datetime.datetime.now()
current_proc = psutil.Process()
# Initialize default values
parent_proc_name, parent_proc_cmdline = "