Skip to content

The immudb logs are not availabe #1883

Description

@jaypatel-24

I have properly configured the logs by running the command
sudo ./immudb -d --logfile /tmp/immudb/immudb.log

the log file is getting generated and printed the logs of starting and shutdown of immudb.

The logs after the starting are not available in log file.
Example:


() | | |
_ _ __ ___ _ __ ___ _ _ | | |
| | '
_ \| '_ _ | | | |/ ` | '
| | | | | | | | | | | | || | (| | |) |
|
|| || ||| || ||_,|_,|_.__/

immudb 1.5.0
Commit : 6103e9a
Built at: Tue, 20 Jun 2023 13:15:58 UTC
================ Config ================
Data dir : ./data
Address : 0.0.0.0:3322
Metrics address : 0.0.0.0:9497/metrics
Sync replication : false
Config file : configs/immudb.toml
Log file : /tmp/immudb/immudb.log
Log format : text
Max recv msg size: 33554432
Auth enabled : true
Dev mode : false
Default database : defaultdb
Maintenance mode : false
Synced mode : true

Superadmin default credentials
Username : immudb
Password : immudb

immudb2023/11/29 07:08:11 INFO: Opening database 'systemdb' {replica = false}...
immudb2023/11/29 07:08:11 INFO: Syncing Binary Linking at 'data/systemdb'...
immudb2023/11/29 07:08:11 INFO: Binary Linking up to date at 'data/systemdb'
immudb2023/11/29 07:08:11 INFO: Reading snapshots at 'data/systemdb/index/commit'...
immudb2023/11/29 07:08:11 INFO: Index 'data/systemdb/index' {ts=1, discarded_snapshots=0} successfully loaded
immudb2023/11/29 07:08:11 INFO: Successfully read snapshots at 'data/systemdb/index/commit'
.
.
.

(there are some more lines)

But the logs related to anything else doesn't show up in log file.
The logs for immugw request even doesn't show up.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions