More logs

This commit is contained in:
Quentin 2019-02-19 21:51:43 +01:00
parent 2eb30b48ed
commit 131c12dc9c
2 changed files with 2 additions and 0 deletions

View file

@ -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
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) {

View file

@ -2,4 +2,5 @@ ControlPort 9051
UseEntryGuards 0
SafeLogging 0
SocksPort 9050 OnionTrafficOnly CacheDNS UseDNSCache
Log INFO stdout