[GH-ISSUE #122] how to enable logging #108

Closed
opened 2026-03-02 07:27:47 +03:00 by kerem · 2 comments
Owner

Originally created by @rs-development on GitHub (Jan 31, 2019).
Original GitHub issue: https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/122

i can see no log files for the vpn server in /var/log

Is there any option to enable logging?

$ docker exec -it ipsec-vpn-server bash
root@b7c7d36ff4fa:/opt/src# ls -la /var/log/
total 152
drwxr-xr-x 1 root root  4096 Jan 30 06:51 .
drwxr-xr-x 1 root root  4096 Jan 22 15:00 ..
-rw-r--r-- 1 root root  4162 Jan 31 22:17 alternatives.log
drwxr-xr-x 1 root root  4096 Jan 31 22:17 apt
-rw-rw---- 1 root utmp     0 Jan 22 15:00 btmp
-rw-r--r-- 1 root root 95876 Jan 31 22:17 dpkg.log
-rw-r--r-- 1 root root  3232 Jan 22 15:00 faillog
-rw-rw-r-- 1 root utmp 29492 Jan 22 15:00 lastlog
-rw-rw-r-- 1 root utmp     0 Jan 22 15:00 wtmp

Originally created by @rs-development on GitHub (Jan 31, 2019). Original GitHub issue: https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/122 i can see no log files for the vpn server in /var/log Is there any option to enable logging? ``` $ docker exec -it ipsec-vpn-server bash root@b7c7d36ff4fa:/opt/src# ls -la /var/log/ total 152 drwxr-xr-x 1 root root 4096 Jan 30 06:51 . drwxr-xr-x 1 root root 4096 Jan 22 15:00 .. -rw-r--r-- 1 root root 4162 Jan 31 22:17 alternatives.log drwxr-xr-x 1 root root 4096 Jan 31 22:17 apt -rw-rw---- 1 root utmp 0 Jan 22 15:00 btmp -rw-r--r-- 1 root root 95876 Jan 31 22:17 dpkg.log -rw-r--r-- 1 root root 3232 Jan 22 15:00 faillog -rw-rw-r-- 1 root utmp 29492 Jan 22 15:00 lastlog -rw-rw-r-- 1 root utmp 0 Jan 22 15:00 wtmp ```
kerem closed this issue 2026-03-02 07:27:47 +03:00
Author
Owner

@hwdsl2 commented on GitHub (Jan 31, 2019):

@rs-development Please refer to [1].

[1] https://github.com/hwdsl2/docker-ipsec-vpn-server#enable-libreswan-logs

<!-- gh-comment-id:459533204 --> @hwdsl2 commented on GitHub (Jan 31, 2019): @rs-development Please refer to [1]. [1] https://github.com/hwdsl2/docker-ipsec-vpn-server#enable-libreswan-logs
Author
Owner

@rs-development commented on GitHub (Jan 31, 2019):

Thank you 👍

<!-- gh-comment-id:459542077 --> @rs-development commented on GitHub (Jan 31, 2019): Thank you :+1:
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/docker-ipsec-vpn-server#108
No description provided.