You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to privacyidea
Hello Cornelius!
last few days I'm struggling with a task to enable debug logs in radius.log, but with no success. Hope you could bring some light..
In my radius.log file I have only Info level logs, but in the privacyidea_radius.pm there's some functions which could provide extended logs:
sub log_request_attributes {
# This shouldn't be done in production environments! # This is only meant for debugging! for( keys %RAD_REQUEST ){ &radiusd::radlog(Debug,"RAD_REQUEST: $_ = $RAD_REQUEST{$_}"); ; }
}
To test if I could see Debug logs in radius.log I slightly modified privacyidea_radius.pm:
&radiusd::radlog( Debug, "state sent to privacyidea: $params{'state'}" );
But then I don't see these "state sent to..." messages anymore.
The question is: is there any place for enabling maximum logging level into radius.log which could limit me to Info logs only? I read mans of radiusd.conf and radiusd itself, surf through http://wiki.freeradius.org/ but didn't find who limits radius.log on which level of events will be logged...
Tried to search through the forum, but with no luck. Checked the source code of the plugin, seems good.
I just want the debug logs work because I wanted to "hide" some log events by modifying "&radiusd::radlog(Info, ..." to "&radiusd::radlog(Debug, ..." so when I need more detailed information I would somewhere change logging level from Info to Debug and get those previously hided messages in my log
Cornelius Kölbel
unread,
Feb 12, 2016, 8:30:55 AM2/12/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to priva...@googlegroups.com
Hi Sergey,
obviously this is an ordinary freeradius question which might be nearly
out of scope of a privacyidea mailing list.
This should be better taken to the freeradius mailing list.
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to privacyidea
Thank you for answer, I tried all this(except freeradius mailing list). I only thought that it could be somewhere on the top of your head. I'll continue to investigate by myself
Cornelius Kölbel
unread,
Feb 12, 2016, 9:23:04 AM2/12/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message