gPanel
gPanel copied to clipboard
Consistent logging format
Severity level (1-10):
4
Files/Directories Involved:
Unsure what files would be effected
Description:
Some sort of logging format should be decided on so that all log messages are uniform.
Personal Comments:
none
Currently it is the following...
PREFIX :: path::status_code::error_message
And the following prefixes exist:
- server_errors.log
-
SERVER
-
API
-
- account_errors.log
-
ACCOUNT
-
API
-
- public_errors.log
-
PUBLIC
-
- public_load_time.log
-
LOAD
-
It has a good amount of content in terms of helping debug, but I feel like its just kind of ugly and convoluted looking. I'm thinking there has to be a standard for this sort of thing.