Skip to content

add log schema option for logging - #40

Open
arjunsridhar12345 wants to merge 3 commits into
mainfrom
39-add-log-schema-option-for-logging
Open

arjunsridhar12345 wants to merge 3 commits into
mainfrom
39-add-log-schema-option-for-logging

Conversation

@arjunsridhar12345

Copy link
Copy Markdown
Collaborator

Attempts to close #39. Some sample output, seems to be working:

{"timestamp": "2026-09-14T18:17:57.236421Z", "level": "INFO", "message": "Running preprocessing with the following parameters:", "pipeline_name": "AIND Ephys Pipeline", "acquisition_name": "ecephys_790025_2025-06-24_08-55-11", "process_name": "Preprocessing"}
{"timestamp": "2026-09-14T18:17:57.236574Z", "level": "INFO", "message": "\tDENOISING_STRATEGY: cmr", "pipeline_name": "AIND Ephys Pipeline", "acquisition_name": "ecephys_790025_2025-06-24_08-55-11", "process_name": "Preprocessing"}
{"timestamp": "2026-09-14T18:17:57.236667Z", "level": "INFO", "message": "\tFILTER TYPE: highpass", "pipeline_name": "AIND Ephys Pipeline", "acquisition_name": "ecephys_790025_2025-06-24_08-55-11", "process_name": "Preprocessing"}
{"timestamp": "2026-09-14T18:17:57.236734Z", "level": "INFO", "message": "\tREMOVE_OUT_CHANNELS: True", "pipeline_name": "AIND Ephys Pipeline", "acquisition_name": "ecephys_790025_2025-06-24_08-55-11", "process_name": "Preprocessing"}
{"timestamp": "2026-09-14T18:17:57.236789Z", "level": "INFO", "message": "\tREMOVE_BAD_CHANNELS: True", "pipeline_name": "AIND Ephys Pipeline", "acquisition_name": "ecephys_790025_2025-06-24_08-55-11", "process_name": "Preprocessing"}
{"timestamp": "2026-09-14T18:17:57.236853Z", "level": "INFO", "message": "\tMAX BAD CHANNEL FRACTION: 0.5", "pipeline_name": "AIND Ephys Pipeline", "acquisition_name": "ecephys_790025_2025-06-24_08-55-11", "process_name": "Preprocessing"}
{"timestamp": "2026-09-14T18:17:57.236902Z", "level": "INFO", "message": "\tCOMPUTE_MOTION: True", "pipeline_name": "AIND Ephys Pipeline", "acquisition_name": "ecephys_790025_2025-06-24_08-55-11", "process_name": "Preprocessing"}
{"timestamp": "2026-09-14T18:17:57.236958Z", "level": "INFO", "message": "\tAPPLY_MOTION: False", "pipeline_name": "AIND Ephys Pipeline", "acquisition_name": "ecephys_790025_2025-06-24_08-55-11", "process_name": "Preprocessing"}
{"timestamp": "2026-09-14T18:17:57.237004Z", "level": "INFO", "message": "\tMOTION PRESET: None", "pipeline_name": "AIND Ephys Pipeline", "acquisition_name": "ecephys_790025_2025-06-24_08-55-11", "process_name": "Preprocessing"}
{"timestamp": "2026-09-14T18:17:57.237059Z", "level": "INFO", "message": "\tMOTION TEMPORAL BIN S: 1.0", "pipeline_name": "AIND Ephys Pipeline", "acquisition_name": "ecephys_790025_2025-06-24_08-55-11", "process_name": "Preprocessing"}
{"timestamp": "2026-09-14T18:17:57.237105Z", "level": "INFO", "message": "\tT_START: None", "pipeline_name": "AIND Ephys Pipeline", "acquisition_name": "ecephys_790025_2025-06-24_08-55-11", "process_name": "Preprocessing"}
{"timestamp": "2026-09-14T18:17:57.237159Z", "level": "INFO", "message": "\tT_STOP: None", "pipeline_name": "AIND Ephys Pipeline", "acquisition_name": "ecephys_790025_2025-06-24_08-55-11", "process_name": "Preprocessing"}
{"timestamp": "2026-09-14T18:17:57.237206Z", "level": "INFO", "message": "\tMIN_DURATION FOR PREPROCESSING: None", "pipeline_name": "AIND Ephys Pipeline", "acquisition_name": "ecephys_790025_2025-06-24_08-55-11", "process_name": "Preprocessing"}
{"timestamp": "2026-09-14T18:17:57.237260Z", "level": "INFO", "message": "\tN_JOBS: 1", "pipeline_name": "AIND Ephys Pipeline", "acquisition_name": "ecephys_790025_2025-06-24_08-55-11", "process_name": "Preprocessing"}
{"timestamp": "2026-09-14T18:17:57.237363Z", "level": "INFO", "message": "Found 1 configurations", "pipeline_name": "AIND Ephys Pipeline", "acquisition_name": "ecephys_790025_2025-06-24_08-55-11", "process_name": "Preprocessing"}
{"timestamp": "2026-09-14T18:17:57.237426Z", "level": "INFO", "message": "\n\nPREPROCESSING", "pipeline_name": "AIND Ephys Pipeline", "acquisition_name": "ecephys_790025_2025-06-24_08-55-11", "process_name": "Preprocessing"}
{"timestamp": "2026-09-14T18:17:58.023466Z", "level": "INFO", "message": "Resetting recording timestamps", "pipeline_name": "AIND Ephys Pipeline", "acquisition_name": "ecephys_790025_2025-06-24_08-55-11", "process_name": "Preprocessing"}
{"timestamp": "2026-09-14T18:17:58.023643Z", "level": "INFO", "message": "Preprocessing recording: ecephys_790025_2025-06-24_08-55-11 - experiment1_Record Node 104#Neuropix-PXI-100.ProbeA-AP_recording1", "pipeline_name": "AIND Ephys Pipeline", "acquisition_name": "ecephys_790025_2025-06-24_08-55-11", "process_name": "Preprocessing"}
{"timestamp": "2026-09-14T18:17:58.023813Z", "level": "INFO", "message": "\tDuration: 1534.73 s", "pipeline_name": "AIND Ephys Pipeline", "acquisition_name": "ecephys_790025_2025-06-24_08-55-11", "process_name": "Preprocessing"}

Comment thread code/run_capsule.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

add log-schema option for logging

2 participants