Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
puppet-freeradius
Commits
bfe67920
Commit
bfe67920
authored
Dec 03, 2015
by
Jonathan Gazeley
Browse files
Fix sqltrace/sqllog for FR3
parent
f719e868
Changes
3
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
bfe67920
...
...
@@ -682,7 +682,7 @@ Print all SQL statements when in debug mode (-x). Default: `no`.
##### `sqltracefile`
Location for SQL statements to be stored if
`$sqltrace = yes`
. Default:
`${logdir}/sql
trace
.sql`
`${logdir}/sql
log
.sql`
##### `connect_failure_retry_delay`
...
...
manifests/sql.pp
View file @
bfe67920
...
...
@@ -21,7 +21,7 @@ define freeradius::sql (
$
usergroup_table
=
'radusergroup'
,
$de
letestalesessions
=
'yes'
,
$
sqltrace
=
'no'
,
$
sqltracefile
=
'${logdir}/sql
trace
.sql'
,
$
sqltracefile
=
'${logdir}/sql
log
.sql'
,
$c
onnect_failure_retry_delay
=
'60'
,
$
nas_table
=
'nas'
,
$
read_groups
=
'yes'
,
...
...
templates/sql.conf.fr3.erb
View file @
bfe67920
...
...
@@ -102,7 +102,9 @@ sql <%= @name %> {
# by enabling "logfile" there, or global logging by enabling "logfile" here.
#
# Per-section logging can be disabled by setting "logfile = ''"
# logfile = ${logdir}/sqllog.sql
<%
if
@sqltrace
==
"yes"
-%>
logfile =
<%=
@sqltracefile
%>
<%
end
-%>
# Set the maximum query duration for rlm_sql_mysql and
# rlm_sql_cassandra.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment