OpenVPN-Admin icon indicating copy to clipboard operation
OpenVPN-Admin copied to clipboard

Amount of logs displayed not working as it should

Open diogojesus95 opened this issue 6 years ago • 11 comments

  • PHP version: 5.6.33
  • MySQL version: mysql Ver 14.14 Distrib 5.5.59, for debian-linux-gnu (x86_64) using readline 6.3
  • Webserver (Nginx, Apache...): Apache/2.4.10
  • What is the expected behaviour? Select 10 / 25 / 50 / 100 rows from the logs tab
  • What do you see instead? The button seems to be ignored when I try to select other values
  • PHP logs on pastebin:

diogojesus95 avatar May 22 '18 12:05 diogojesus95

Hey, any update regarding this issue? I have the same problem and looking for a solution to fix it.

Friese633 avatar Dec 04 '18 07:12 Friese633

what are the log settings you've set? can you share that.

lagman avatar Dec 04 '18 08:12 lagman

Hey,

currently i doens´t configured anything regarding this.

I just updated to the current version from git.

Can you tell me at which place I have to configure the logs settings, please?


what are the log settings you've set? can you share that?

Friese633 avatar Dec 04 '18 09:12 Friese633

in /etc/openvpn/server.conf check for these status /var/log/openvpn-status.log log-append /var/log/openvpn.log and in your webserver, set the log level, in Apache's case the following tells where to store the log ErrorLog "logs/error_log" and this tells the log level, after done debuging, lower the log level LogLevel debug

lagman avatar Dec 04 '18 10:12 lagman

Checked /etc/openvpn/server.conf Configured: status openvpn-status.log Changed to: status /var/log/openvpn-status.log

Log-append was already pointing to : /var/log/openvpn.log

Edit the apache2.conf file to set LogLevel /etc/apache2/apache2.conf LogLevel warn to LogLevel debug

Results from /var/log/apache2/error.log

Don´t see any issues. error.log.txt

Friese633 avatar Dec 04 '18 13:12 Friese633

apache is not showing any errors. what seems to be the problem with your openvpn server?

lagman avatar Dec 04 '18 20:12 lagman

There arent any issue with my OpenVPN Server. Issue: "Amount of logs displayed not working as it should"... Only the standard configuration of 10 entrys get shown. image

Friese633 avatar Dec 05 '18 13:12 Friese633

Any update on this issue? It´s an configuration fault from my side, or an issue in the application.

Friese633 avatar Dec 13 '18 07:12 Friese633

can you connect to the vpn server? and is your vpn routing properly?! there shouldn't be much much data on the openvpn-status.log file. as to openvpn.log file, every time a user access the openvpn server there should be a log with a timestamp.

which part is not logging properly? The webserver, or openvpn?

lagman avatar Dec 13 '18 16:12 lagman

There is nothing wrong with the VPN server itself! Just read the main topic and you will understand!! At thr board with the vpn logs you can select how many logs you want to display per page. 10, 20, 50, etc... That function simply does not work...

diogojesus95 avatar Dec 13 '18 16:12 diogojesus95

Any news on these Ticket? Is there an issue in the Software? Is there some work on the ticket, or any workaround?

Friese633 avatar Jan 04 '19 06:01 Friese633