binhistory.defaults

Sane defaults for optimal operation. Change these at your own risk!

Module Attributes

DEFAULT_FILE_EXTENSION

The expected file extension for bin log files

MAX_ENTRIES

Maximum log entries allowed in a file

MAX_FIELD_LENGTH

Max number of characters in User or Computer fields

DATETIME_STRING_FORMAT

Datetime string format for bin log entry (Example: Wed Dec 15 09:47:51)

DEFAULT_USER

Default User Profile name to use during the creation of new binhistory.BinLogEntry object.

DEFAULT_COMPUTER

Default Computer name to use during the creation of new binhistory.BinLogEntry object.

binhistory.defaults.DEFAULT_FILE_EXTENSION: str = '.log'

The expected file extension for bin log files

binhistory.defaults.MAX_ENTRIES: int = 10

Maximum log entries allowed in a file

binhistory.defaults.MAX_FIELD_LENGTH: int = 15

Max number of characters in User or Computer fields

binhistory.defaults.DATETIME_STRING_FORMAT: str = '%a %b %d %H:%M:%S'

Datetime string format for bin log entry (Example: Wed Dec 15 09:47:51)

binhistory.defaults.DEFAULT_USER: str = 'docs'

Default User Profile name to use during the creation of new binhistory.BinLogEntry object.

This defaults to the user account that is currently running the python script.

binhistory.defaults.DEFAULT_COMPUTER: str = 'build-27526146-'

Default Computer name to use during the creation of new binhistory.BinLogEntry object.

This defaults to the hostname of the machine that is currently running the python script.