[GH-ISSUE #1469] How to turn off/minimal console logging #324

Closed
opened 2026-03-07 20:47:44 +03:00 by kerem · 5 comments
Owner

Originally created by @davidchingmy on GitHub (Feb 13, 2023).
Original GitHub issue: https://github.com/dbeaver/cloudbeaver/issues/1469

For context, I am using docker compose yml to run app and cloudbeaver community. I just want to see log for my app, how do I turn off or reduce cloudbeaver console logging?

Originally created by @davidchingmy on GitHub (Feb 13, 2023). Original GitHub issue: https://github.com/dbeaver/cloudbeaver/issues/1469 For context, I am using docker compose yml to run app and cloudbeaver community. I just want to see log for my app, how do I turn off or reduce cloudbeaver console logging?
kerem 2026-03-07 20:47:44 +03:00
Author
Owner

@dariamarutkina commented on GitHub (Feb 22, 2023):

Hello @davidchingmy !
Could you clarify what exactly means "console logging" and what exactly you want to reduce? Also please share an example of logs. Can you please describe in more detail?
Thank you for your interest in CloudBeaver.

<!-- gh-comment-id:1440235712 --> @dariamarutkina commented on GitHub (Feb 22, 2023): Hello @davidchingmy ! Could you clarify what exactly means "console logging" and what exactly you want to reduce? Also please share an example of logs. Can you please describe in more detail? Thank you for your interest in CloudBeaver.
Author
Owner

@davidchingmy commented on GitHub (Feb 23, 2023):

Hello @dariamarutkina ,

Thank you for your response!

I have this in my docker-compose.yml (see image below) and used docker compose up to run cloudbeaver.
image

I don't want to use docker's --detach argument because this docker setup is purely for development purposes and I need to see my app's and db's logs.

Here some sample logs from cloudbeaver.
image

<!-- gh-comment-id:1441177865 --> @davidchingmy commented on GitHub (Feb 23, 2023): Hello @dariamarutkina , Thank you for your response! I have this in my `docker-compose.yml` (see image below) and used `docker compose up` to run cloudbeaver. ![image](https://user-images.githubusercontent.com/103477413/220815694-0f4bb8d5-0c67-46a0-8de4-407eb737f1aa.png) I don't want to use docker's `--detach` argument because this docker setup is purely for development purposes and I need to see my app's and db's logs. Here some sample logs from cloudbeaver. ![image](https://user-images.githubusercontent.com/103477413/220815656-35e13c4e-0dcd-421f-a17b-0ed552e56d7b.png)
Author
Owner

@alexander-skoblikov commented on GitHub (Mar 23, 2023):

Hi, if you are building an application from source code, you can change this log config file, also in the future we plan to add support for custom logging configuration

<!-- gh-comment-id:1481418996 --> @alexander-skoblikov commented on GitHub (Mar 23, 2023): Hi, if you are building an application from source code, you can change this [log config file](https://github.com/dbeaver/cloudbeaver/blob/devel/config/core/logback.xml), also in the future we plan to add support for custom logging configuration
Author
Owner

@TatyanaSsau commented on GitHub (May 8, 2023):

Support for custom logging configuration via an external file has been added in 23.0.4

Thank you, @davidchingmy, for the interest in CloudBeaver!!!

<!-- gh-comment-id:1538189808 --> @TatyanaSsau commented on GitHub (May 8, 2023): Support for custom logging configuration via an external file has been added in 23.0.4 Thank you, @davidchingmy, for the interest in CloudBeaver!!!
Author
Owner

@LonwoLonwo commented on GitHub (Oct 23, 2024):

As a result:

Custom cloudbeaver configuration is searched in conf/custom folder.

How to use it:

• create a folder in your local machine with custom cloudbeaver.conf or logback.xml files
• how to customize logback.xml - you can open it in Notepad and change the log pattern (date and time, for example, from {HH:mm:ss.SSS} to {HH:mm} )

<Pattern>
           %d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n
</Pattern>

• Mount a new volume for the /opt/cloudbeaver/custom with your local configuration folder where lies cloudbeaver.conf or logback.xml and run docker image RESULT: logs format will be changed (if you set it as in the example, the time will have only hours and minutes)

<!-- gh-comment-id:2431324601 --> @LonwoLonwo commented on GitHub (Oct 23, 2024): As a result: Custom cloudbeaver configuration is searched in conf/custom folder. How to use it: • create a folder in your local machine with custom `cloudbeaver.conf` or `logback.xml` files • how to customize `logback.xml` - you can open it in Notepad and change the log pattern (date and time, for example, from {HH:mm:ss.SSS} to {HH:mm} ) ``` <Pattern> %d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n </Pattern> ``` • Mount a new volume for the `/opt/cloudbeaver/custom` with your local configuration folder where lies `cloudbeaver.conf` or `logback.xml` and run docker image RESULT: logs format will be changed (if you set it as in the example, the time will have only hours and minutes)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cloudbeaver#324
No description provided.