forked from openboxes/openboxes
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
79 changed files
with
1,433 additions
and
1,631 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -130,12 +130,21 @@ grails.validateable.packages = [ | |
] | ||
|
||
/* Default settings for emails sent through the SMTP appender */ | ||
mail.error.server = 'localhost' | ||
mail.error.port = 25 | ||
mail.error.from = '[email protected]' | ||
//mail.error.server = 'localhost' | ||
//mail.error.port = 25 | ||
//mail.error.from = '[email protected]' | ||
//mail.error.to = '[email protected]' | ||
//mail.error.subject = '[OpenBoxes '+GrailsUtil.environment+']' | ||
//mail.error.debug = true | ||
mail.error.debug = false | ||
mail.error.to = '[email protected]' | ||
mail.error.subject = '[OpenBoxes '+GrailsUtil.environment+']' | ||
mail.error.debug = true | ||
mail.error.server = grails.mail.host | ||
mail.error.port = grails.mail.port | ||
mail.error.from = grails.mail.from | ||
mail.error.username = grails.mail.username | ||
mail.error.password = grails.mail.password | ||
mail.error.prefix = grails.mail.prefix | ||
|
||
|
||
// set per-environment serverURL stem for creating absolute links | ||
environments { | ||
|
@@ -215,7 +224,7 @@ log4j = { | |
"Username: %X{username}%n" + | ||
"Location: %X{location}%n" + | ||
"Locale: %X{locale}%n" + | ||
"IP address: %X{ipAddress} http://whatismyipaddress.com/ip/%X{ipAddress}%n" + | ||
"IP address: %X{ipAddress}%n" + | ||
"Request URI: %X{requestUri}%n" + | ||
"Request URL: %X{requestUrl}%n" + | ||
"Query string: %X{queryString}%n" + | ||
|
@@ -229,7 +238,7 @@ log4j = { | |
name: 'smtp', | ||
to: mail.error.to, | ||
from: mail.error.from, | ||
subject: mail.error.subject + " %m", | ||
subject: mail.error.prefix + " %m", | ||
threshold: Level.ERROR, | ||
//SMTPHost: mail.error.server, | ||
layout: pattern(conversionPattern: conversionPattern)) | ||
|
@@ -240,11 +249,11 @@ log4j = { | |
name: 'smtp', | ||
to: mail.error.to, | ||
from: mail.error.from, | ||
subject: mail.error.subject + " %m", | ||
subject: mail.error.prefix + " %m", | ||
threshold: Level.ERROR, | ||
//SMTPHost: mail.error.server, | ||
//SMTPUsername: mail.error.username, | ||
//SMTPPassword: mail.error.password, | ||
SMTPHost: mail.error.server, | ||
SMTPUsername: mail.error.username, | ||
SMTPPassword: mail.error.password, | ||
SMTPDebug: mail.error.debug, | ||
layout: pattern(conversionPattern: conversionPattern)) | ||
} | ||
|
@@ -254,12 +263,12 @@ log4j = { | |
name: 'smtp', | ||
to: mail.error.to, | ||
from: mail.error.from, | ||
subject: mail.error.subject + " An application error occurred", | ||
subject: mail.error.prefix + " Application error occurred", | ||
threshold: Level.ERROR, | ||
//SMTPHost: mail.error.server, | ||
//SMTPUsername: mail.error.username, | ||
SMTPHost: mail.error.server, | ||
SMTPUsername: mail.error.username, | ||
SMTPDebug: mail.error.debug, | ||
//SMTPPassword: mail.error.password, | ||
SMTPPassword: mail.error.password, | ||
layout: pattern(conversionPattern: conversionPattern)) | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.