• src/sbbs3/logfile.cpp

    From rswindell@VERT to CVS commit on Sunday, June 23, 2019 11:12:04
    src/sbbs3 logfile.cpp 1.65 1.66
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv25331

    Modified Files:
    logfile.cpp
    Log Message:
    Use ctime_r() for the error.log timestamp string rather thean timestr() -
    this insures:
    1. the timestamp always includes the seconds
    2. the tiemstamp is always in 24-hour format (no am/pm indication)

    For systems that are configured (in SCFG) for "Military" (24 hour) time format, the error.log timestamps should appear the same as before.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT 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

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net