You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bookkeeper.apache.org by GitBox <gi...@apache.org> on 2021/05/04 06:36:10 UTC
[GitHub] [bookkeeper] stanbog opened a new issue #2704: Bookkeeper doesn't create a log file
stanbog opened a new issue #2704:
URL: https://github.com/apache/bookkeeper/issues/2704
Hello,
We have a bookkeeper cluster made from 3 nodes.
We would like to forward the logs into splunk but the bookkeeper service doesn't generate any logs files other than journalctl.
Those are the log properties that we currently have:
```
BOOKIE_LOG_DIR=${BOOKIE_LOG_DIR:-"$BK_HOME/logs"}
BOOKIE_LOG_FILE=${BOOKIE_LOG_FILE:-"bookkeeper-server.log"}
BOOKIE_ROOT_LOGGER=${BOOKIE_ROOT_LOGGER:-"INFO,CONSOLE"}
```
I would expect to find the log `bookkeeper-server.log` under `$BK_HOME/logs` but that doesn't exist.
Any help would be appreciated.
Thank you.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [bookkeeper] stanbog commented on issue #2704: Bookkeeper doesn't create a log file
Posted by GitBox <gi...@apache.org>.
stanbog commented on issue #2704:
URL: https://github.com/apache/bookkeeper/issues/2704#issuecomment-847777107
Hello,
Thank you for your answer.
Yes, the permissions seem to be correct.
This is what I have in the `$BK_HOME`:
```
[root@svevertpulsar01 bookkeeper]# ls -lart
total 84
drwxr-xr-x 6 root root 73 Apr 23 2020 ..
drwxr-xr-x 2 bookkeeper bookkeeper 6 Dec 18 10:14 deps
drwxr-xr-x 2 bookkeeper bookkeeper 214 Feb 23 16:37 bin
drwxr-xr-x 2 bookkeeper bookkeeper 266 Feb 23 16:37 conf
drwxr-xr-x 2 bookkeeper bookkeeper 8192 Feb 23 16:37 lib
drwxr-xr-x 7 bookkeeper bookkeeper 64 May 25 13:05 .
drwxr-xr-x 2 bookkeeper bookkeeper 49152 May 25 13:05 logs
```
Under `logs` directory I have a bunch of `gc_xxxxxx.log` files , but no `bookkeeper-server.log`
```
[root@svevertpulsar01 logs]# ls -lart
total 22800
-rw-r--r-- 1 bookkeeper bookkeeper 869 Feb 23 16:37 gc_9020.log
-rw-r--r-- 1 bookkeeper bookkeeper 869 Feb 23 16:38 gc_9786.log
-rw-r--r-- 1 bookkeeper bookkeeper 869 Feb 23 16:53 gc_12662.log
-rw-r--r-- 1 bookkeeper bookkeeper 869 Feb 23 17:08 gc_15730.log
-rw-r--r-- 1 bookkeeper bookkeeper 864 Feb 23 17:23 gc_18820.log
-rw-r--r-- 1 bookkeeper bookkeeper 864 Feb 23 17:38 gc_21934.log
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [bookkeeper] Ghatage commented on issue #2704: Bookkeeper doesn't create a log file
Posted by GitBox <gi...@apache.org>.
Ghatage commented on issue #2704:
URL: https://github.com/apache/bookkeeper/issues/2704#issuecomment-846465858
That's very weird.
Can you check if you have the proper permissions on the log directory for the process?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org