Skip to content

Commit 5913bce

Browse files
style(FEMTools): use @info instead of @warn for headless mode logs
1 parent 5df3fc8 commit 5913bce

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/FEMTools/utilities.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ end
178178
# 5 Full internal tracing
179179
function map_verbosity_to_getdp(verbosity::Int)
180180
if _is_headless() # Prevent huge logs in CI/CD deploys
181-
@warn "Running in headless mode, suppressing GetDP output"
181+
@info "Running in headless mode, suppressing GetDP output"
182182
return 0 # Gmsh Silent level
183183
elseif verbosity >= 2 # Debug
184184
return 4 # GetDP Debug level
@@ -200,7 +200,7 @@ end
200200
# 99 Debug
201201
function map_verbosity_to_gmsh(verbosity::Int)
202202
if _is_headless() # Prevent huge logs in CI/CD deploys
203-
@warn "Running in headless mode, suppressing Gmsh output"
203+
@info "Running in headless mode, suppressing Gmsh output"
204204
return 0 # Gmsh Silent level
205205
elseif verbosity >= 2 # Debug
206206
return 99 # Gmsh Debug level

0 commit comments

Comments
 (0)