aboutsummaryrefslogtreecommitdiffstats
path: root/LICENSE.MIT
diff options
context:
space:
mode:
authorTim Orling <tim.orling@konsulko.com>2023-10-25 08:18:50 -0700
committerTim Orling <tim.orling@konsulko.com>2023-10-26 08:52:03 -0700
commit12d2f1146be2cd3ec15f88d63786d9adcc451325 (patch)
treef98d89640858c00d8e2c0e12988ec9041110a746 /LICENSE.MIT
parentbaeaa73df2e2f2edc98f8779d57f3841d382d8fc (diff)
downloadbitbake-contrib-timo/toaster-logging-v2.tar.gz
toaster: write logs to BUILDDIRtimo/toaster-logging-v2
Fixes "2efb14648 toaster: Monitoring - implement Django logging system" when running in a container. When running in a container, the previous approach of using BASE_DIR is not a writable path. Also, we really do not want to be writing logs into the source tree, as the BASE_DIR was resolving to bitbake/lib/toaster/logs Since Toaster is only ever running in an environment where oe-init-buildenv or similar has been sourced, we should instead write the logs to BUILDDIR. This is where the existing toaster_ui.log was already being written. Drop the /logs/ directory, as it has not been created which also breaks in a container environment. Instead, prepend the api.log, etc. with "toaster_" and write them alongside the existing toaster_ui.log Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Diffstat (limited to 'LICENSE.MIT')
0 files changed, 0 insertions, 0 deletions