Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
055d648e
Commit
055d648e
authored
Aug 17, 2015
by
Eric Paris
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change log_flush_frequency to use -
Since we have the rename, we don't need our declaration to look like glog's.
parent
c560f41a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
3 deletions
+2
-3
excluded-flags.txt
hack/verify-flags/excluded-flags.txt
+0
-1
known-flags.txt
hack/verify-flags/known-flags.txt
+1
-0
logs.go
pkg/util/logs.go
+1
-2
No files found.
hack/verify-flags/excluded-flags.txt
View file @
055d648e
...
...
@@ -9,7 +9,6 @@ gke_context
host_port_endpoints
kubecfg_file
kube_master_url
log_flush_frequency
max_in_flight
max_par
new_file_0644
...
...
hack/verify-flags/known-flags.txt
View file @
055d648e
...
...
@@ -125,6 +125,7 @@ kube-master
label-columns
last-release-pr
legacy-userspace-proxy
log-flush-frequency
long-running-request-regexp
low-diskspace-threshold-mb
manifest-url
...
...
pkg/util/logs.go
View file @
055d648e
...
...
@@ -25,8 +25,7 @@ import (
"github.com/spf13/pflag"
)
// Uses _ instead of - to better align with glog flags.
var
logFlushFreq
=
pflag
.
Duration
(
"log_flush_frequency"
,
5
*
time
.
Second
,
"Maximum number of seconds between log flushes"
)
var
logFlushFreq
=
pflag
.
Duration
(
"log-flush-frequency"
,
5
*
time
.
Second
,
"Maximum number of seconds between log flushes"
)
// TODO(thockin): This is temporary until we agree on log dirs and put those into each cmd.
func
init
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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