Commit Graph

195 Commits

Author SHA1 Message Date
asif 0fe3535328 chore(ide): Delete notebook 3.0 2026-07-25 04:16:23 -06:00
asif 30bd4d230d docs(logwatch): Update readme
Update readme with changes for v3
2026-07-25 04:11:32 -06:00
asif 2d0188949b chore(ide): Update dictionary 2026-07-25 04:11:05 -06:00
asif c53b89667f feat(logwatch): Update logwatch files for v3
Add new timestamp template and delete the old one. Update report script file to use new 'status' tags to generate logwatch reports.
2026-07-25 03:46:41 -06:00
asif 9654bf7472 feat(log): Add 'SUCCESS' status
Tag successfully updated entries with a 'SUCCESS' tag instead of 'OK' for better log filtering and to allow for logwatch reporting.
2026-07-25 03:45:44 -06:00
asif d20be3e602 docs(readme): Update readme with v3 changes 2026-07-25 03:23:49 -06:00
asif 563ded005f docs(script): Fix script examples
Script examples referenced old log-file switches.
2026-07-25 01:52:27 -06:00
asif 977827b92d feat(logger): Remove unneeded file
This file was a test-file while testing different methods of writing to the journal. No longer needed.
2026-07-25 01:50:22 -06:00
asif 9ed3d1adc1 docs(script): Update embedded script examples
Proofreading. Add examples of using new log backends and formats.
2026-07-25 01:28:47 -06:00
asif 8540fe16b2 fix(log): Disallow multi-logging
Make logging options mutually-exclusive to avoid confusion.
2026-07-25 01:10:48 -06:00
asif 1fb44db8df chore(ide): Update notebook settings 2026-07-25 01:10:16 -06:00
asif 1144156613 feat(func): Write to journald
Function to write log entries to journald. Update writeLog steering function to use this new backend.
2026-07-25 00:45:18 -06:00
asif 45e5e17513 feat(func): Translate standardized log levels to journald 2026-07-25 00:42:06 -06:00
asif a92b341bc3 feat(log): merge feat/structured-logging
Merge structured logging feature branch into main.

Closes 2
2026-07-25 00:20:04 -06:00
asif 08a5c823d5 refactor(log): Use CLEF for JSON logs
Use Compact Log Event Format (CLEF) for JSON logs along with custom properties.
2026-07-24 04:41:23 -06:00
asif eafba0d67d perf(log): Use compact JSON for logging 2026-07-24 04:36:26 -06:00
asif e25bd9fb4d feat(func): Add JSON logging func
Update central logging steering function to reference this new JSON logging backend function.
2026-07-24 04:02:21 -06:00
asif bff59f5c1f chore(ide): Save custom dictionary 2026-07-24 04:01:35 -06:00
asif 539b80e4ec feat(script): Use HTTPS ip discovery links 2026-07-24 03:52:30 -06:00
asif 58520b3567 refactor(log): Remove redundant debug log handling
Debug-level logging is handled by the central logging steering function. Remove redundant code in backend plaint-text logging function.
2026-07-24 03:28:49 -06:00
asif 51bd6160f3 feat(func): Use centralized log func
Create single logging function that can be called and then forwards the request to the appropriate logging backend function for completion.
2026-07-24 03:25:29 -06:00
asif 8d3489ba00 fix(vars): Add missing LOG_PROGRAM_NAME var 2026-07-24 02:48:26 -06:00
asif 3b97d112ad feat(log): Add CF-ERR to operation attr
Update 'listCFErrors' function so that 'CF-ERR' is appended to the 'operation' field of the error log.
2026-07-24 02:44:22 -06:00
asif 1506d77ee9 refactor(func): Remove no-colourize functions 2026-07-24 02:17:06 -06:00
asif e4e967e227 feat(params): Cleanup journald pre-req fail msg 2026-07-24 02:16:08 -06:00
asif aebf8042e3 feat(params): Use badparam func to manage logging 2026-07-24 02:15:14 -06:00
asif 02e3e8d391 feat(log): Log parameter errors 2026-07-24 01:59:10 -06:00
asif 95682314de fix(params): Fix pre-flight console log dedup 2026-07-24 01:46:51 -06:00
asif 5bc3e7d587 feat(log): Enable debug level filtering 2026-07-24 01:18:16 -06:00
asif fca36ac119 feat(params): Add debug logging toggle 2026-07-24 01:13:40 -06:00
asif 2b0128d0c1 fix(log): Prevent preflight duplicate logging
Prevent writing preflight error messages to the console twice when using console logging mode.
2026-07-24 01:08:54 -06:00
asif c792ec8a0a feat(params): Add log type, fmt params
Add log type and format parameters. Update defaults. Update help script.
2026-07-24 01:03:28 -06:00
asif 1732de343d refactor(func): Remove unused functions
Remvoe the logging functions replaced by the new structured implementation.
2026-07-23 23:22:17 -06:00
asif 51b2b455a2 feat(log): Use plain-text logging for all messages
Convert all logging output to plain-text structured messages using new function.
2026-07-23 23:16:12 -06:00
asif f8f3bf1539 refactor(func): Change default err code to 0 2026-07-23 22:17:15 -06:00
asif f8908d7830 feat(func): Write modified syslog fmt msg
Take input parameters and generate a modified syslog-style log entry.
2026-07-23 21:59:58 -06:00
asif 8a5a72e15a feat(func): Convert to uniform log levels
Take input text with various references to log levels and return a standardized uppercase log level name.
2026-07-23 21:57:30 -06:00
asif 1da49b06db feat(func): Convert text ucase, lcase 2026-07-23 21:56:19 -06:00
asif 1336c8e63b feat(func): Retrieve machine host name 2026-07-23 21:55:56 -06:00
asif 450733a8d5 feat(func): Generate ISO-8601 timestamp 2026-07-23 21:55:25 -06:00
asif 92e69d1b85 fix(logger): Fix JournalD log levels
Log levels were reversed in the translation function.
2026-07-23 00:20:30 -06:00
asif 00ea88780d feat(logger): Echo vs return values from Translate func 2026-07-23 00:18:03 -06:00
asif d9aa8973a3 fix(logger): Perform cmd subst outside heredoc
Perform function and command value substitution outside the heredoc forwarded to logger for JournalD entries.
2026-07-23 00:17:42 -06:00
asif ec75cffbf1 fix(logger): Ensure log levels are lcase before standardization 2026-07-23 00:16:19 -06:00
asif b8fb744623 fix(logger): Fix error in json logger
Assignment to 'pid' argument was incorrect.
2026-07-22 23:50:33 -06:00
asif d0b2c781bf feat(logger): Update test cases
Update JSON and JOURNALD tests to match text tests and use new functions.
2026-07-22 23:48:16 -06:00
asif c4d28d1f8c fix(logger): Fix default subst
Default parameter substitution in all functions was incorrect.
2026-07-22 23:44:08 -06:00
asif f085838781 feat(logger): Add test with operation, error code 2026-07-22 23:42:52 -06:00
asif 4a6c339a07 fix(logger): Fix default subst
Default variable substitution in plain-text function was incorrect.
2026-07-22 23:42:33 -06:00
asif c94f12e976 fix(logger): Fix error in uppercase func
'upper' and 'lower' translate strings were not supplied separately.
2026-07-22 23:38:45 -06:00