-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch '414-errors' of https://github.com/hbz/lobid-organisations
Resolves #414 See http://lobid.org/organisations/search?q=%2B%2Btest
- Loading branch information
Showing
8 changed files
with
84 additions
and
73 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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
@* Copyright 2018 Fabian Steeg, hbz. Licensed under the GPLv2 *@ | ||
|
||
@(q: String, message: String) | ||
|
||
@import play.i18n._ | ||
|
||
@main(q) { | ||
<div class="panel panel-danger footer"> | ||
<div class='panel-heading'>@Messages.get("error")</div> | ||
<div class='panel-body'>@message</div> | ||
</div> | ||
} |
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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,55 @@ | ||
<!-- ~ Copyright (C) 2009-2015 Typesafe Inc. <http://www.typesafe.com> --> | ||
<!-- The default logback configuration that Play uses if no other configuration | ||
is provided --> | ||
<configuration> | ||
|
||
<conversionRule conversionWord="coloredLevel" converterClass="play.api.Logger$ColoredLevel" /> | ||
|
||
<appender name="FILE" | ||
class="ch.qos.logback.core.rolling.RollingFileAppender"> | ||
<file>./logs/application.log</file> | ||
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> | ||
<!-- Weekly rollover with compression --> | ||
<fileNamePattern>application-log-%d{yyyy-ww}.gz</fileNamePattern> | ||
<!-- keep 8 weeks worth of history --> | ||
<maxHistory>8</maxHistory> | ||
</rollingPolicy> | ||
<encoder> | ||
<pattern>%date{yyyy-MM-dd HH:mm:ss ZZZZ} [%level] from %logger in | ||
%thread - %message%n%xException</pattern> | ||
</encoder> | ||
</appender> | ||
|
||
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> | ||
<encoder> | ||
<pattern>%coloredLevel %logger{15} - %message%n%xException{10} | ||
</pattern> | ||
</encoder> | ||
</appender> | ||
|
||
<appender name="ASYNCFILE" class="ch.qos.logback.classic.AsyncAppender"> | ||
<appender-ref ref="FILE" /> | ||
</appender> | ||
|
||
<appender name="ASYNCSTDOUT" class="ch.qos.logback.classic.AsyncAppender"> | ||
<appender-ref ref="STDOUT" /> | ||
</appender> | ||
|
||
<logger name="play" level="INFO" /> | ||
<logger name="application" level="INFO" /> | ||
|
||
<!-- Off these ones as they are annoying, and anyway we manage configuration | ||
ourself --> | ||
<logger name="com.avaje.ebean.config.PropertyMapLoader" level="OFF" /> | ||
<logger name="com.avaje.ebeaninternal.server.core.XmlConfigLoader" | ||
level="OFF" /> | ||
<logger name="com.avaje.ebeaninternal.server.lib.BackgroundThread" | ||
level="OFF" /> | ||
<logger name="com.gargoylesoftware.htmlunit.javascript" level="OFF" /> | ||
|
||
<root level="WARN"> | ||
<appender-ref ref="ASYNCFILE" /> | ||
<appender-ref ref="ASYNCSTDOUT" /> | ||
</root> | ||
|
||
</configuration> |
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