change LOG_FORMAT to NU_LOG_FORMAT in nu-std library (#10254)

this closes #10248 

@fdncred pointed out the problem and he was correct 😄 

I went ahead and made the simple change and the
https://github.com/influxdata/influxdb_iox binary
works like a charm...

@amtoine hopefully there are no issues with this change

I believe its a good one as other rust binaries might take advantage of
this common
environment variable as well...
This commit is contained in:
Michael Angerman
2023-09-06 10:17:14 -07:00
committed by GitHub
parent f433b3102f
commit 6a374182a7
2 changed files with 3 additions and 3 deletions

View File

@@ -38,5 +38,5 @@ def env_log_short_prefix [] {
#[test]
def env_log_format [] {
assert equal $env.LOG_FORMAT $"%ANSI_START%%DATE%|%LEVEL%|(ansi u)%MSG%%ANSI_STOP%"
assert equal $env.NU_LOG_FORMAT $"%ANSI_START%%DATE%|%LEVEL%|(ansi u)%MSG%%ANSI_STOP%"
}