From 5a2432fdc4923b426a02492a06363e6cfa315cd9 Mon Sep 17 00:00:00 2001 From: Fons van der Plas Date: Tue, 20 Jun 2023 15:41:24 +0200 Subject: [PATCH] maxlog=50 for "Request hash not found..." to avoid overflowing logs (#119) --- src/Configuration.jl | 2 -- src/HTTPRouter.jl | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Configuration.jl b/src/Configuration.jl index 1abf873..154b055 100644 --- a/src/Configuration.jl +++ b/src/Configuration.jl @@ -2,8 +2,6 @@ using Configurations import TOML import Pluto export SliderServerSettings, ExportSettings, PlutoDeploySettings, get_configuration -using TerminalLoggers: TerminalLogger -using Logging: global_logger using FromFile import Glob @from "./ConfigurationDocs.jl" import @extract_docs, get_kwdocs, list_options_md diff --git a/src/HTTPRouter.jl b/src/HTTPRouter.jl index 84bec2e..470331d 100644 --- a/src/HTTPRouter.jl +++ b/src/HTTPRouter.jl @@ -55,7 +55,7 @@ function make_router( If this is an automated setup, then this could happen inbetween deployments. If this is a manual setup, then running the .jl notebook file might have caused a small change (e.g. the version number or a whitespace change). Copy notebooks to a temporary directory before running them using the bind server. =# - @info "Request hash not found. See error hint in my source code." notebook_hash + @info "Request hash not found. See error hint in my source code." notebook_hash maxlog=50 nothing else notebook_sessions[i]