Innov-AI
    Documentation | MentDB Weak Server
Show log files

  • Log files use rolling technology
  • There are 10 log files (default 30Mo max configurable in conf/server.conf - ARCHIVE_SIZE=30)
  • When a file is full logs/mentdb0.log, it is switched to mentdb1.log...
  • To show log files (by default the last 10 lines of the current log file.)
  • "2023-08-04 13:30:00.17+0400: JOB ERROR: 
    line 1 >>> math.addition.exe 
    
    [[[ Sorry, the script 'math.addition.exe' does not has a valid number of parameters. ]]] [execute \"math.addition.exe\"]
    2023-08-04 13:54:03.313+0400: MentDB: Maximum number of sessions exceeded.
    2023-08-04 14:30:00.14+0400: JOB ERROR: 
    line 1 >>> math.addition.exe 
    
    [[[ Sorry, the script 'math.addition.exe' does not has a valid number of parameters. ]]] [execute \"math.addition.exe\"]
    ";
  • Get the current log file ID
  • log current id;
  • "0";
  • Show more than 10 last lines
  • log show 50;
  • "2023-08-04 10:57:09.520+0400: 13
    2023-08-04 10:57:09.520+0400: 14
    2023-08-04 10:57:09.521+0400: 15
    2023-08-04 10:57:09.521+0400: 16
    2023-08-04 10:57:09.521+0400: 17
    2023-08-04 10:57:09.521+0400: 18
    2023-08-04 10:57:09.522+0400: 19
    2023-08-04 10:57:09.522+0400: 20
    2023-08-04 10:57:09.522+0400: 21
    2023-08-04 10:57:09.522+0400: 22
    2023-08-04 10:57:09.522+0400: 23
    2023-08-04 10:57:09.523+0400: 24
    2023-08-04 10:57:09.523+0400: 25
    2023-08-04 10:57:09.523+0400: 26
    2023-08-04 10:57:09.523+0400: 27
    2023-08-04 10:57:09.524+0400: 28
    2023-08-04 10:57:09.524+0400: 29
    2023-08-04 10:57:09.524+0400: 30
    2023-08-04 10:57:09.524+0400: 31
    2023-08-04 10:57:09.524+0400: 32
    2023-08-04 10:57:09.525+0400: 33
    2023-08-04 10:57:09.525+0400: 34
    2023-08-04 10:57:09.525+0400: 35
    2023-08-04 10:57:09.525+0400: 36
    2023-08-04 10:57:09.526+0400: 37
    2023-08-04 10:57:09.526+0400: 38
    2023-08-04 10:57:09.526+0400: 39
    2023-08-04 10:57:09.526+0400: 40
    2023-08-04 10:57:09.527+0400: 41
    2023-08-04 10:57:09.527+0400: 42
    2023-08-04 10:57:09.527+0400: 43
    2023-08-04 10:57:09.527+0400: 44
    2023-08-04 11:30:00.16+0400: JOB ERROR: 
    line 1 >>> math.addition.exe 
    
    [[[ Sorry, the script 'math.addition.exe' does not has a valid number of parameters. ]]] [execute \"math.addition.exe\"]
    2023-08-04 12:30:00.15+0400: JOB ERROR: 
    line 1 >>> math.addition.exe 
    
    [[[ Sorry, the script 'math.addition.exe' does not has a valid number of parameters. ]]] [execute \"math.addition.exe\"]
    2023-08-04 13:30:00.17+0400: JOB ERROR: 
    line 1 >>> math.addition.exe 
    
    [[[ Sorry, the script 'math.addition.exe' does not has a valid number of parameters. ]]] [execute \"math.addition.exe\"]
    2023-08-04 13:54:03.313+0400: MentDB: Maximum number of sessions exceeded.
    2023-08-04 14:30:00.14+0400: JOB ERROR: 
    line 1 >>> math.addition.exe 
    
    [[[ Sorry, the script 'math.addition.exe' does not has a valid number of parameters. ]]] [execute \"math.addition.exe\"]
    ";
Services     Supporters     Contact     About     Legal notice © 2024