More logs
This commit is contained in:
parent
2eb30b48ed
commit
131c12dc9c
2 changed files with 2 additions and 0 deletions
|
@ -98,6 +98,7 @@ void evt_core_add_fd(struct evt_core_ctx* ctx, struct evt_core_fdinfo* user_data
|
||||||
|
|
||||||
// 5. Add file descriptor to epoll
|
// 5. Add file descriptor to epoll
|
||||||
add_fd_to_epoll(ctx->epollfd, user_data->fd, cat->flags);
|
add_fd_to_epoll(ctx->epollfd, user_data->fd, cat->flags);
|
||||||
|
printf("Added fd=%d with url=%s in cat=%s\n", fdinfo->fd, fdinfo->url, fdinfo->cat->name);
|
||||||
}
|
}
|
||||||
|
|
||||||
struct evt_core_cat* evt_core_rm_fd(struct evt_core_ctx* ctx, int fd) {
|
struct evt_core_cat* evt_core_rm_fd(struct evt_core_ctx* ctx, int fd) {
|
||||||
|
|
|
@ -2,4 +2,5 @@ ControlPort 9051
|
||||||
UseEntryGuards 0
|
UseEntryGuards 0
|
||||||
SafeLogging 0
|
SafeLogging 0
|
||||||
SocksPort 9050 OnionTrafficOnly CacheDNS UseDNSCache
|
SocksPort 9050 OnionTrafficOnly CacheDNS UseDNSCache
|
||||||
|
Log INFO stdout
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue