• src/sbbs3/logfile.cpp

    From rswindell to CVS commit on Saturday, August 08, 2020 12:32:30
    src/sbbs3 logfile.cpp 1.68 1.69
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv30030

    Modified Files:
    logfile.cpp
    Log Message:
    *lower* log-levels are more severe.

  • From Rob Swindell to Git commit to main/sbbs/master on Sunday, December 20, 2020 17:11:56
    https://gitlab.synchro.net/main/sbbs/-/commit/48f73ca167262efb1a09078f
    Modified Files:
    src/sbbs3/logfile.cpp
    Log Message:
    Don't log errno info for ERR_CHK errormsg() calls

    The errno (global error number) information is not relevant for any sbbs "checking" type errors.
    Also, use safe_strerror() for thread-safe errno descriptions.
  • From Rob Swindell to Git commit to main/sbbs/master on Sunday, May 16, 2021 16:47:09
    https://gitlab.synchro.net/main/sbbs/-/commit/3d1e05e5015a0872a2a72fb7
    Modified Files:
    src/sbbs3/logfile.cpp
    Log Message:
    Log the current Git branch and hash along with every error

    This eliminates any ambiguity about what exact version was in use when each error is logged.
  • From Rob Swindell to Git commit to main/sbbs/master on Thursday, December 29, 2022 14:16:20
    https://gitlab.synchro.net/main/sbbs/-/commit/4908a3883646356c357f6814
    Modified Files:
    src/sbbs3/logfile.cpp
    Log Message:
    Resolve warning: ISO C++ forbids converting a string constant to ‘char*’
  • From Rob Swindell to Git commit to main/sbbs/master on Monday, January 30, 2023 16:00:04
    https://gitlab.synchro.net/main/sbbs/-/commit/d99905a420dd2f394c5dce69
    Modified Files:
    src/sbbs3/logfile.cpp
    Log Message:
    Lowercase the topics in hack and spam action messages
  • From Rob Swindell (on Windows 11) to Git commit to main/sbbs/master on Sunday, February 25, 2024 18:06:16
    https://gitlab.synchro.net/main/sbbs/-/commit/62852439c523e1d09e6b10b1
    Modified Files:
    src/sbbs3/logfile.cpp
    Log Message:
    Don't log errno value and description as part of ERROR log msg, when 0

    If errno is 0, it's definitely no proividing anything of value here. Of
    course, sometimes errno might be non-zero and still be unrelated to the error message. <shrug>

    For Nelgin:
    !ERROR 0 (Success) in exec.cpp line 644 (js_execfile) compiling "something.js" access=0
    <nelgin> I don't quite get why a successful execution is logged as an error
  • From Rob Swindell (on Windows 11) to Git commit to main/sbbs/master on Thursday, October 17, 2024 21:57:19
    https://gitlab.synchro.net/main/sbbs/-/commit/1fecea061764630c37d903bc
    Modified Files:
    src/sbbs3/logfile.cpp
    Log Message:
    Fix extra line feed (and blank line) when long (> 78 char) strings were logged

    to node.log via sbbs_t::log()