@misterhuydo/sentinel 1.0.39 → 1.0.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.cairn/session.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"message": "Auto-checkpoint at 2026-03-21T21:49
|
|
3
|
-
"checkpoint_at": "2026-03-21T21:49
|
|
2
|
+
"message": "Auto-checkpoint at 2026-03-21T21:55:49.215Z",
|
|
3
|
+
"checkpoint_at": "2026-03-21T21:55:49.216Z",
|
|
4
4
|
"active_files": [],
|
|
5
5
|
"notes": [],
|
|
6
6
|
"mtime_snapshot": {}
|
package/package.json
CHANGED
|
@@ -45,6 +45,7 @@ PROPERTIES FILE FORMAT
|
|
|
45
45
|
OUTPUT_DIR=/path/to/output Defaults to script directory
|
|
46
46
|
TAIL=1000 Lines to fetch (default: 1000)
|
|
47
47
|
GREP_FILTER=WARN|ERROR|FATAL Lines to keep (default: WARN|ERROR|FATAL|Exception|Error)
|
|
48
|
+
Set to "none" to fetch all lines unfiltered
|
|
48
49
|
GREP_EXCLUDE=regex Lines to drop (default: none)
|
|
49
50
|
EOF
|
|
50
51
|
}
|
|
@@ -107,7 +108,11 @@ fetch_from_properties() {
|
|
|
107
108
|
|
|
108
109
|
# Apply defaults for fetch parameters
|
|
109
110
|
TAIL="${TAIL:-$DEFAULT_TAIL}"
|
|
110
|
-
|
|
111
|
+
if [[ -z "$GREP_FILTER" ]]; then
|
|
112
|
+
GREP_FILTER="$DEFAULT_GREP_FILTER"
|
|
113
|
+
elif [[ "$GREP_FILTER" == "none" || "$GREP_FILTER" == "*" ]]; then
|
|
114
|
+
GREP_FILTER=""
|
|
115
|
+
fi
|
|
111
116
|
|
|
112
117
|
local SERVICE_NAME
|
|
113
118
|
SERVICE_NAME="$(basename "$props_file" .properties)"
|