Understanding log file

From GlusterDocumentation

format

[Date - Time][log level][file name:line no:function name] [translator name]        [actual msg]
    |               |            |                          |                            |
    v               v            v                          v                            v
2008-12-11 18:12:13 E [socket.c:215:__socket_server_bind] server: There seems to be another application using this port


log levels

  • C - Critical

Don't ignore this message. If it doesn't makes sense to you, report to the support/mailing-list.

  • E - Error

Don't ignore this message. If it doesn't makes sense to you, report to the support/mailing-list.

  • W - Warning

Don't ignore this message. If it doesn't makes sense to you, report to the support/mailing-list.

  • N - Notice

Informative log. These logs provide information about what GlusterFS is doing on the given file (for example, if GlusterFS will perform self-heal on a path). No need to mail the mailing list.

  • D - Debug

Not the default level. Debug gives an idea about internal operations and is mostly intended for the developer audience. These logs are not of concern to administrators and users. No need to mail the mailing list.

  • T - Trace

These logs are intended for use during the development of a feature/translator. These log trace of activity on an inode, all fops done on fs, etc.

 

Copyright © Gluster, Inc. All Rights Reserved.