AllenNeuralDynamics / AllenNeuralDynamics/aind-ephys-pipeline
Add `logging` section to the parameters
- Lenguaje dominante
- Nextflow
- Estrellas
- 41
- Forks
- 10
- Merge medio
- 25 min
- PR fusionados (30 d)
- 2
Descripción
To customize logging, we could add a `logging` section to the params.
This would allow both to custmize the default logging and to optionally use the AIND-specific `log-schema`.
For example, the logging section could look like this:
```
"logging": {
"package": "logging" / "log_schema",
"logging_cgf": {
...
}
}
```
The `main.nf` can take care of appending the `logging` section (if available) to the params of every process. Individual processes can then dispatch and setup the logging. For the AIND `log-schema`, the `main.nf` could also add the `acquisition_name` and `pipeline_name` because they are shared across processes. The individual processes will then append the `process_name`.
Note: we need to update the containers to install `log-schema`
FYI: @dyf @arielleleon @dougollerenshaw
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.