Skip to content

Commit ee56822

Browse files
authored
Merge pull request #1133 from CliMA/gb/logward
Don't warn as much for diagnostics
2 parents 18be90a + 1a9242f commit ee56822

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/diagnostics/diagnostic.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,9 @@ function add_diagnostic_variable!(;
6262
"$(map(
6363
field -> "$(getfield(ALL_DIAGNOSTICS[short_name], field))",
6464
filter(field -> field != :compute!, fieldnames(DiagnosticVariable)),
65-
))"
65+
))",
66+
maxlog = 1,
67+
_id = Symbol(short_name)
6668
)
6769

6870
ALL_DIAGNOSTICS[short_name] = DiagnosticVariable(;

0 commit comments

Comments
 (0)