Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
spring-boot-admin
Project
Overview
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
openSource
spring-boot-admin
Commits
30a27263
Commit
30a27263
authored
Jul 10, 2014
by
Thomas Bosch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include logging
parent
f6f5fc91
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
100 additions
and
0 deletions
+100
-0
filters.js
src/main/webapp/public/scripts/filters/filters.js
+9
-0
logging.html
src/main/webapp/public/views/apps/logging.html
+19
-0
read.html
src/main/webapp/public/views/apps/logging/read.html
+27
-0
write.html
src/main/webapp/public/views/apps/logging/write.html
+45
-0
No files found.
src/main/webapp/public/scripts/filters/filters.js
0 → 100644
View file @
30a27263
'use strict'
;
angular
.
module
(
'springBootAdmin'
)
.
filter
(
'ceil'
,
function
()
{
return
function
(
input
)
{
return
Math
.
ceil
(
input
);
}
});
\ No newline at end of file
src/main/webapp/public/views/apps/logging.html
0 → 100644
View file @
30a27263
<div
class=
"row-fluid"
>
<div
class=
"span12"
>
<h1
class=
"index-page--title"
>
{{ application.id }}
</h1>
<p
class=
"index-page--subtitle"
>
Read and write log levels of specified loggers.
</p>
</div>
</div>
<div
class=
"container"
>
<div
class=
"main-template"
>
<div
id=
"xd-jobs"
class=
"tab-pane active col-md-12"
>
<ul
class=
"nav nav-tabs"
>
<li
ui-sref-active=
"active"
><a
ui-sref=
"apps.logging.read({id: application.id})"
>
Read
</a></li>
<li
ui-sref-active=
"active"
><a
ui-sref=
"apps.logging.write({id: application.id})"
>
Write
</a></li>
</ul>
<div
class=
"tab-content"
>
<div
ui-view
></div>
</div>
</div>
</div>
</div>
src/main/webapp/public/views/apps/logging/read.html
0 → 100644
View file @
30a27263
<table
class=
"table table-striped"
>
<thead>
<tr>
<th>
Read log level
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<table>
<tr>
<td>
Logger name
</td>
<td><input
type=
"text"
ng-model=
"application.logger.name"
style=
"margin-bottom: 0"
></td>
</tr>
<tr>
<td>
Log level
</td>
<td>
{{ application.logger.loglevel }}
</td>
</tr>
<tr>
<td></td>
<td><button
ng-click=
"readLoglevel(application)"
class=
"btn btn-success"
>
Read log level
</button></td>
</tr>
</table>
</td>
</tr>
</tbody>
</table>
src/main/webapp/public/views/apps/logging/write.html
0 → 100644
View file @
30a27263
<table
class=
"table table-striped"
>
<thead>
<tr>
<th>
Write log level
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<table>
<tr>
<td>
Logger name
</td>
<td><input
type=
"text"
ng-model=
"application.logger.name"
style=
"margin-bottom: 0"
></td>
</tr>
<tr>
<td>
Log level
</td>
<td><div
class=
"radio"
>
<label>
<input
type=
"radio"
value=
"ERROR"
ng-model=
"application.logger.loglevel"
>
ERROR
</label>
</div>
<div
class=
"radio"
>
<label>
<input
type=
"radio"
value=
"WARN"
ng-model=
"application.logger.loglevel"
>
WARN
</label>
</div>
<div
class=
"radio"
>
<label><input
type=
"radio"
value=
"INFO"
ng-model=
"application.logger.loglevel"
>
INFO
</label>
</div>
<div
class=
"radio"
>
<label><input
type=
"radio"
value=
"DEBUG"
ng-model=
"application.logger.loglevel"
>
DEBUG
</label>
</div>
<div
class=
"radio"
>
<label><input
type=
"radio"
value=
"TRACE"
ng-model=
"application.logger.loglevel"
>
TRACE
</label>
</div></td>
</tr>
<tr>
<td></td>
<td><button
ng-click=
"writeLoglevel(application)"
class=
"btn btn-success"
>
Write log level
</button>
<span
ng-show=
"application.logger.success"
style=
"color: #008800"
>
Success!
</span><span
ng-show=
"application.logger.success != null && !application.logger.success"
style=
"color: #880000"
>
Error!
</span></td>
</tr>
</table>
</td>
</tr>
</tbody>
</table>
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