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

Log file is missing #106

Closed
vertisan opened this issue Mar 25, 2020 · 4 comments
Closed

Log file is missing #106

vertisan opened this issue Mar 25, 2020 · 4 comments

Comments

@vertisan
Copy link

@vertisan vertisan commented Mar 25, 2020

Hi,

In my inspircd.conf I have defined line for logs:

<log method="file" type="*" level="debug" target="logs/ircd.log">

but file is not generated, logs from docker are empty too.
Where is the problem? It's an original line where I changed only type to clear *.

@SadieCat

This comment has been minimized.

Copy link
Member

@SadieCat SadieCat commented Mar 25, 2020

If you're using v3 it should just be target="ircd.log".

SadieCat added a commit that referenced this issue Mar 25, 2020
Ref: #106.
@vertisan vertisan closed this Mar 25, 2020
@vertisan vertisan reopened this Mar 25, 2020
@vertisan

This comment has been minimized.

Copy link
Author

@vertisan vertisan commented Mar 25, 2020

Changed and file is in /inspircd/logs/ircd.log and now it works, thanks.

EDIT: I have reopened to ask - why the given path does not work? Does this mean that I can't indicate an alternative path for the log files?
What if I need more login tags?
@SadieCat

@SadieCat

This comment has been minimized.

Copy link
Member

@SadieCat SadieCat commented Mar 25, 2020

If the path doesn't exist then it will silently fail currently. This is scheduled to be fixed for v4 because the way the logging system works currently is very complex and i'm afraid to break stuff by changing it.

@vertisan

This comment has been minimized.

Copy link
Author

@vertisan vertisan commented Mar 29, 2020

I understand, thanks for your response.

@vertisan vertisan closed this Mar 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.