Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
b5727949
Commit
b5727949
authored
Oct 12, 2017
by
bergquist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
logging: dont use cli logger in http_server
parent
88f55b01
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
2 deletions
+1
-2
pkg/api/http_server.go
+1
-2
No files found.
pkg/api/http_server.go
View file @
b5727949
...
@@ -21,7 +21,6 @@ import (
...
@@ -21,7 +21,6 @@ import (
"github.com/grafana/grafana/pkg/api/live"
"github.com/grafana/grafana/pkg/api/live"
httpstatic
"github.com/grafana/grafana/pkg/api/static"
httpstatic
"github.com/grafana/grafana/pkg/api/static"
"github.com/grafana/grafana/pkg/bus"
"github.com/grafana/grafana/pkg/bus"
"github.com/grafana/grafana/pkg/cmd/grafana-cli/logger"
"github.com/grafana/grafana/pkg/components/simplejson"
"github.com/grafana/grafana/pkg/components/simplejson"
"github.com/grafana/grafana/pkg/log"
"github.com/grafana/grafana/pkg/log"
"github.com/grafana/grafana/pkg/middleware"
"github.com/grafana/grafana/pkg/middleware"
...
@@ -155,7 +154,7 @@ func (hs *HttpServer) newMacaron() *macaron.Macaron {
...
@@ -155,7 +154,7 @@ func (hs *HttpServer) newMacaron() *macaron.Macaron {
for
_
,
route
:=
range
plugins
.
StaticRoutes
{
for
_
,
route
:=
range
plugins
.
StaticRoutes
{
pluginRoute
:=
path
.
Join
(
"/public/plugins/"
,
route
.
PluginId
)
pluginRoute
:=
path
.
Join
(
"/public/plugins/"
,
route
.
PluginId
)
logger
.
Debug
(
"Plugins: Adding route"
,
"route"
,
pluginRoute
,
"dir"
,
route
.
Directory
)
hs
.
log
.
Debug
(
"Plugins: Adding route"
,
"route"
,
pluginRoute
,
"dir"
,
route
.
Directory
)
hs
.
mapStatic
(
m
,
route
.
Directory
,
""
,
pluginRoute
)
hs
.
mapStatic
(
m
,
route
.
Directory
,
""
,
pluginRoute
)
}
}
...
...
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