Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Earlylogger #2038

Merged
merged 2 commits into from
Nov 19, 2019
Merged

Earlylogger #2038

merged 2 commits into from
Nov 19, 2019

Conversation

vcptr
Copy link
Contributor

@vcptr vcptr commented Nov 19, 2019

Load logger module as early as possible, so that other modules could print their own logs during program initiating.

Here's example logs during the initial running.

V2Ray 4.21.4 (user) 20191115-171558
A unified platform for anti-censorship.
2019/11/19 14:10:09 [Debug] v2ray.com/core/app/log: Logger started
2019/11/19 14:10:09 [Info] v2ray.com/core/app/dns: DNS: classic server inited 1.1.1.1:53
2019/11/19 14:10:09 [Debug] v2ray.com/core/app/stats: create new counter inbound>>>proxy>>>traffic>>>uplink
2019/11/19 14:10:09 [Debug] v2ray.com/core/app/stats: create new counter inbound>>>proxy>>>traffic>>>downlink
2019/11/19 14:10:09 [Debug] v2ray.com/core/app/proxyman/inbound: creating stream worker on 0.0.0.0:10808
2019/11/19 14:10:09 [Debug] v2ray.com/core/app/stats: create new counter inbound>>>api>>>traffic>>>uplink
2019/11/19 14:10:09 [Debug] v2ray.com/core/app/stats: create new counter inbound>>>api>>>traffic>>>downlink
2019/11/19 14:10:09 [Debug] v2ray.com/core/app/proxyman/inbound: creating stream worker on 127.0.0.1:64387
2019/11/19 14:10:09 [Info] v2ray.com/core/transport/internet/tcp: listening TCP on 0.0.0.0:10808
2019/11/19 14:10:09 [Info] v2ray.com/core/transport/internet/udp: listening UDP on 0.0.0.0:10808
2019/11/19 14:10:09 [Info] v2ray.com/core/transport/internet/tcp: listening TCP on 127.0.0.1:64387
2019/11/19 14:10:09 [Warning] v2ray.com/core: V2Ray 4.21.4 started

@kslr kslr merged commit c94f5f6 into v2ray:master Nov 19, 2019
@vcptr vcptr deleted the earlylog branch November 21, 2019 06:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants