Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
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
DEMO
spring-boot
Commits
c57588ac
Commit
c57588ac
authored
Jan 19, 2016
by
Stephane Nicoll
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '1.2.x'
parents
112b707b
2ceadd70
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
12 deletions
+12
-12
LogFile.java
...c/main/java/org/springframework/boot/logging/LogFile.java
+5
-5
LoggingApplicationListener.java
...ingframework/boot/logging/LoggingApplicationListener.java
+5
-5
additional-spring-configuration-metadata.json
...es/META-INF/additional-spring-configuration-metadata.json
+2
-2
No files found.
spring-boot/src/main/java/org/springframework/boot/logging/LogFile.java
View file @
c57588ac
/*
* Copyright 2012-201
5
the original author or authors.
* Copyright 2012-201
6
the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
...
...
@@ -36,14 +36,14 @@ import org.springframework.util.StringUtils;
public
class
LogFile
{
/**
* The name of the Spring property that contains the name of the log
ging configuratio
n
*
file
.
* The name of the Spring property that contains the name of the log
file. Names ca
n
*
be an exact location or relative to the current directory
.
*/
public
static
final
String
FILE_PROPERTY
=
"logging.file"
;
/**
* The name of the Spring property that contains the
path where the logging
*
configuration can be found
.
* The name of the Spring property that contains the
directory where log files are
*
written
.
*/
public
static
final
String
PATH_PROPERTY
=
"logging.path"
;
...
...
spring-boot/src/main/java/org/springframework/boot/logging/LoggingApplicationListener.java
View file @
c57588ac
/*
* Copyright 2012-201
5
the original author or authors.
* Copyright 2012-201
6
the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
...
...
@@ -88,14 +88,14 @@ public class LoggingApplicationListener implements GenericApplicationListener {
public
static
final
String
REGISTER_SHUTDOWN_HOOK_PROPERTY
=
"logging.register-shutdown-hook"
;
/**
* The name of the Spring property that contains the
path where the logging
*
configuration can be found
.
* The name of the Spring property that contains the
directory where log files are
*
written
.
*/
public
static
final
String
PATH_PROPERTY
=
LogFile
.
PATH_PROPERTY
;
/**
* The name of the Spring property that contains the name of the log
ging configuratio
n
*
file
.
* The name of the Spring property that contains the name of the log
file. Names ca
n
*
be an exact location or relative to the current directory
.
*/
public
static
final
String
FILE_PROPERTY
=
LogFile
.
FILE_PROPERTY
;
...
...
spring-boot/src/main/resources/META-INF/additional-spring-configuration-metadata.json
View file @
c57588ac
...
...
@@ -39,7 +39,7 @@
{
"name"
:
"logging.file"
,
"type"
:
"java.lang.String"
,
"description"
:
"
Log file name
."
,
"description"
:
"
Name of the log file. Names can be an exact location or relative to the current directory
."
,
"sourceType"
:
"org.springframework.boot.logging.LoggingApplicationListener"
},
{
...
...
@@ -69,7 +69,7 @@
{
"name"
:
"logging.path"
,
"type"
:
"java.lang.String"
,
"description"
:
"
Location of the log file
."
,
"description"
:
"
Directory where log files are written
."
,
"sourceType"
:
"org.springframework.boot.logging.LoggingApplicationListener"
},
{
...
...
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