bigeagle / gohop

A VPN implemention in golang, with crypto and obfuscation in nature.
1.33k stars 195 forks source link

Fix the logging output #19

Closed r0l1 closed 6 years ago

r0l1 commented 7 years ago

Fix the logging output!

gohop -debug -config server.ini
[16-10-02 02:41:54][INFO] using config file: %v server.ini
[16-10-02 02:41:54][DEBUG] %v {4000 4000  192.168.5.50/24 1400 ilovethebigbrother true none 60  }
[16-10-02 02:41:54][DEBUG] %v {4000 4000  192.168.5.50/24 1400 ilovethebigbrother true none 60  }
[16-10-02 02:41:54][INFO] interface %v created tun0
[16-10-02 02:41:54][INFO] ip %s link set dev tun0 up mtu 1400 qlen 100
[16-10-02 02:41:54][DEBUG] %v 192.168.5.50
dgrr commented 6 years ago

Solved.