Log Level for CUBEJS_LOG_LEVEL is not working.
- Dominant language
- Rust
- Stars
- 20.8k
- Forks
- 2.1k
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 181
Description
**Describe the bug**
I am trying to get only errors by setting CUBEJS_LOG_LEVEL=error but thats not working.
**To Reproduce**
Steps to reproduce the behavior:
1. Setup Cube JS basic app from CubeJS CLI
2. Set CUBEJS_DEV_MODE=false
3. Set CUBEJS_LOG_LEVEL=trace
4. Add this in cube.js file
`module.exports = {
logger: (msg) => {
console.log(msg);
}`
5. Try to run /cubejs-api/v1/load api end point. See the output in console
`REST API Request
Load Request
Compiling schema
Load Request SQL
Query started
Found cache entry
Renewing existing key
Using cache for
Found cache entry
Waiting for renew
Added to queue
Found cache entry
Using cache for
Query completed
Load Request Success
Performing query
Waiting for query
Waiting for query
Skip processing
Skipping free processing lock
Executing SQL
Performing query completed`
6. Now, try the same with CUBEJS_LOG_LEVEL=error. You will get the same output.
**Expected behavior**
I expected only errors when CUBEJS_LOG_LEVEL=error.
**Screenshot**

**Version:**
0.26.64
Contributor guide
Assessment
This issue has not been assessed yet.