Email Setup
Send logs through email.
- Mail body format
[LEVEL] DATE TIME (MESSAGE ID) Message CLASS:FUNCTION FILE NAME(line)
- Email sample
From : ViewonLog email sender [recipient1@viewoncode.com]
To : recipient1@viewoncode.com , recipient2@gmail.com
Subject : Email test [6 – 1,1,1,1,1,1]
[T] 10/12/2008 16:12:37:796 (0) TRACE message. CTest:Test FirstApp.cpp(11)
[D] 10/12/2008 16:12:37:796 (0) DEBUG message. CTest:Test FirstApp.cpp(12)
[I] 10/12/2008 16:12:37:796 (0) INFO message. CTest:Test FirstApp.cpp(13)
[W] 10/12/2008 16:12:37:796 (0) WARN message. CTest:Test FirstApp.cpp(14)
[E] 10/12/2008 16:12:37:796 (0) ERROR message. CTest:Test FirstApp.cpp(15)
[F] 10/12/2008 16:12:37:796 (0) FATAL message. CTest:Test FirstApp.cpp(16)
Tail Utility
It can be used to log the end of a growing text file (like the UNIX tail -f utility). You can log the last part of a large file quickly without the need to load the entire file.
- File
- Default
Specify the default message ID, level and logger name. If a received message does not meet the ‘Level conditions’, default level will be used.
- Level conditions
Specify each level condition.
|