Skip to content
Open
Changes from 1 commit
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
a93be03
feat: Expected log levels
castelao Dec 11, 2025
b33d807
cfg: Adding dependency on chrono
castelao Dec 11, 2025
653b695
feat: LogRecord.parse()
castelao Dec 12, 2025
f91e5f1
test: LogRecord::parse
castelao Dec 12, 2025
ba5a6a2
feat: LogRecord::init_db
castelao Dec 12, 2025
b1fb6c6
feat: LogRecord::init_db
castelao Dec 12, 2025
10e029f
Importing requirements
castelao Dec 12, 2025
fb0c726
renaming tests
castelao Dec 12, 2025
c494e9e
Transparent Regex errors
castelao Dec 12, 2025
818aa1f
cfg: Adding Regex as dependency
castelao Dec 12, 2025
5d2d4f5
refact: Trim logs before processing
castelao Dec 12, 2025
18d5ae3
feat: LogRecord::open()
castelao Dec 12, 2025
1a8b397
feat: LogRecord::sample()
castelao Dec 12, 2025
4700231
test: Adding a sample with a county
castelao Dec 12, 2025
926f20f
feat: Include logs when opening
castelao Dec 12, 2025
16f5327
test: Extending open_scraped_ordinaces to include logs
castelao Dec 12, 2025
bb9e044
feat: RuntimeLogs as a collection of LogRecord
castelao Dec 12, 2025
d2e53e4
test, refact: Import super::*
castelao Dec 12, 2025
bfde5e5
cfg: Importing duckdb and trace
castelao Dec 12, 2025
f480e38
feat: LogRecord::record()
castelao Dec 12, 2025
49e6dfb
feat: Logs record in DB must have bookkeeper id
castelao Dec 12, 2025
6d13d20
style:
castelao Dec 12, 2025
a30d076
feat: Including DebugToFile
castelao Dec 12, 2025
52b5187
refact: Compile regex only once
castelao Dec 12, 2025
55333a5
fix: Removing extra spaces from sample
castelao Dec 12, 2025
da4de66
doc: RuntimeLogs::parse()
castelao Dec 12, 2025
f79cdb2
refact: Filtering and logging RuntimeLogs::parse
castelao Dec 12, 2025
6d8bf27
log: Bump recording on database message to info level
castelao Dec 12, 2025
16850c9
refact: Minimum information with expect instead of unwrap
castelao Dec 12, 2025
152eb1f
feat: Recording logs in the DB
castelao Dec 12, 2025
9722898
style: Left behind some imports from development
castelao Dec 12, 2025
6404901
refact: Breaking log module in parts
castelao Dec 13, 2025
2e9a7a2
clean:
castelao Dec 13, 2025
279067e
doc:
castelao Dec 13, 2025
834e2b1
typo:
castelao Dec 13, 2025
46dbf2e
clean:
castelao Dec 13, 2025
a88a1ef
fix: Missing miliseconds
castelao Dec 13, 2025
652e153
doc:
castelao Dec 13, 2025
2350093
typo:
castelao Dec 13, 2025
4b10335
clean:
castelao Dec 13, 2025
8811311
refact: Return one of our custom errros
castelao Dec 13, 2025
28c79b8
fix: Bad format for microseconds
castelao Dec 14, 2025
6d1563b
log: Promoting initializing usage to debug level
castelao Dec 14, 2025
3a697a7
log: Providing more information on parsing dates
castelao Dec 14, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat: Including DebugToFile
A custom log level from Python library.
  • Loading branch information
castelao committed Dec 12, 2025
commit a30d0760b46e2adbfac040cd30c47237b8460130
2 changes: 2 additions & 0 deletions crates/compass/src/scraper/log.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ use crate::error::Result;

#[derive(Debug, PartialEq, serde::Deserialize)]
enum LogLevel {
#[serde(rename = "DEBUG_TO_FILE")]
DebugToFile,
#[serde(rename = "TRACE")]
Trace,
#[serde(rename = "DEBUG")]
Expand Down