-
Notifications
You must be signed in to change notification settings - Fork 348
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
T4576: Accel-ppp logging level configuration #3510
Conversation
Our log level is set to 5 by default, but in accel-ppp documentation, default log level is 0 |
@@ -189,6 +189,14 @@ | |||
#include <include/accel-ppp/snmp.xml.i> | |||
#include <include/generic-description.xml.i> | |||
#include <include/name-server-ipv4-ipv6.xml.i> | |||
<node name="log"> | |||
<properties> | |||
<help>Logging IPoE Server</help> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This isn't a good grammar. I'd say "IPoE server logging". This applies to all instances of that string.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
By removing the service name (IPoE) from the help string, you can generalize this. As this is under service ipoe-server
we can safely assume the user knows he is working under IPoE node.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
<validator name="numeric" argument="--range 0-5"/> | ||
</constraint> | ||
</properties> | ||
<defaultValue>5</defaultValue> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Our log level is set to 5 by default, but in accel-ppp documentation, default log level is 0
I don't think either of those extremes is a good idea. Level 3 sounds like a good default for me.
@@ -142,6 +142,14 @@ | |||
#include <include/name-server-ipv4-ipv6.xml.i> | |||
</children> | |||
</node> | |||
<node name="log"> | |||
<properties> | |||
<help>Logging L2TP VPN</help> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Arguably, it should be "L2TP server logging" as well.
add ability to change logging level config for: * VPN L2TP * VPN PPTP * VPN SSTP * IPoE Server * PPPoE Serve
@Mergifyio backport sagitta |
✅ Backports have been created
|
add ability to change logging level config for:
Change Summary
Types of changes
Related Task(s)
Related PR(s)
Component(s) name
Proposed changes
How to test
Configure service e.g. VPN L2TP:
and connect to service:
log level = 5
log level 0:
Smoketest result
Checklist: