Commit b08fe3cd authored by rswindell's avatar rswindell
Browse files

Over-hauled the log file output:

- Added a lot more detail for outbound echomail and netmail (msgs, packets,
  and bundles) to help identify the source of problems
- Removed a lot of unnecessary "status" type log output ("Scanning for ...")
  as it was back in 2005.
- Date format in log is more standard (year-month-day)
- Logs error level and import/export statistics when exiting
- Packs bundles *before* writing to FLO files (the only operational change).
- sbbsecho.log should actually be smaller (grow slower) though there is more
  helpful information than before.
- Incremented version to 2.31.
parent af714756
This diff is collapsed.
......@@ -38,7 +38,7 @@
/* Portions written by Allen Christiansen 1994-1996 */
#define SBBSECHO_VERSION_MAJOR 2
#define SBBSECHO_VERSION_MINOR 30
#define SBBSECHO_VERSION_MINOR 31
#define SBBSECHO_PRODUCT_CODE 0x12FF /* from http://ftsc.org/docs/ftscprod.013 */
......@@ -82,21 +82,23 @@
#define SEND_NOTIFY (1<<4) /* Send Notify Lists */
#define LOG_AREAFIX (1L<<0) /* Log areafix messages */
#define LOG_IMPORTED (1L<<1) /* Log imported netmail messages */
#define LOG_PACKETS (1L<<2) /* Log imported packet names/types */
#define LOG_SECURE (1L<<3) /* Log security violations */
#define LOG_GRUNGED (1L<<4) /* Log grunged messages */
#define LOG_PRIVATE (1L<<5) /* Log disallowed private msgs */
#define LOG_AREA_TOTALS (1L<<6) /* Log totals for each area */
#define LOG_TOTALS (1L<<7) /* Log over-all totals */
#define LOG_PACKING (1L<<8) /* Log packing of out-bound netmail */
#define LOG_ROUTING (1L<<9) /* Log routing of out-bound netmail */
#define LOG_AREAFIX (1<<0) /* Log areafix messages */
#define LOG_IMPORTED (1<<1) /* Log imported netmail messages */
#define LOG_PACKETS (1<<2) /* Log imported packet names/types */
#define LOG_SECURE (1<<3) /* Log security violations */
#define LOG_GRUNGED (1<<4) /* Log grunged messages */
#define LOG_PRIVATE (1<<5) /* Log disallowed private msgs */
#define LOG_AREA_TOTALS (1<<6) /* Log totals for each area */
#define LOG_TOTALS (1<<7) /* Log over-all totals */
#define LOG_PACKING (1<<8) /* Log packing of out-bound netmail */
#define LOG_ROUTING (1<<9) /* Log routing of out-bound netmail */
#define LOG_NETMAIL (1<<10) /* Log creation/export of netmail */
#define LOG_BSO_FLO (1<<11) /* Log Binkley-Style-Outbound/FLO operations */
#define LOG_DUPES (1L<<24) /* Log individual dupe messages */
#define LOG_CIRCULAR (1L<<25) /* Log individual circ paths */
#define LOG_IGNORED (1L<<26) /* Log ignored netmail */
#define LOG_UNKNOWN (1L<<27) /* Log netmail for unknown users */
#define LOG_DUPES (1<<24) /* Log individual dupe messages */
#define LOG_CIRCULAR (1<<25) /* Log individual circ paths */
#define LOG_IGNORED (1<<26) /* Log ignored netmail */
#define LOG_UNKNOWN (1<<27) /* Log netmail for unknown users */
#define LOG_DEFAULTS 0xffffffL /* Low 24 bits default to ON */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment