Set RUST_LOG to info by default in zed-local script
This commit is contained in:
parent
69c65597d9
commit
1e1256dbdd
1 changed files with 4 additions and 1 deletions
|
@ -55,6 +55,8 @@ let users = [
|
||||||
'iamnbutler'
|
'iamnbutler'
|
||||||
]
|
]
|
||||||
|
|
||||||
|
const RUST_LOG = process.env.RUST_LOG || 'info'
|
||||||
|
|
||||||
// If a user is specified, make sure it's first in the list
|
// If a user is specified, make sure it's first in the list
|
||||||
const user = process.env.ZED_IMPERSONATE
|
const user = process.env.ZED_IMPERSONATE
|
||||||
if (user) {
|
if (user) {
|
||||||
|
@ -81,7 +83,8 @@ setTimeout(() => {
|
||||||
ZED_ALWAYS_ACTIVE: '1',
|
ZED_ALWAYS_ACTIVE: '1',
|
||||||
ZED_SERVER_URL: 'http://localhost:8080',
|
ZED_SERVER_URL: 'http://localhost:8080',
|
||||||
ZED_ADMIN_API_TOKEN: 'secret',
|
ZED_ADMIN_API_TOKEN: 'secret',
|
||||||
ZED_WINDOW_SIZE: `${instanceWidth},${instanceHeight}`
|
ZED_WINDOW_SIZE: `${instanceWidth},${instanceHeight}`,
|
||||||
|
RUST_LOG,
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue