Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating logback config to use HSQLDB for logging events, minor chang…
…es to FedoraContentMapper.java to get code convention enforcement to pass
- Loading branch information
Showing
5 changed files
with
133 additions
and
34 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
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,31 @@ | ||
DROP TABLE logging_event_exception IF EXISTS; | ||
DROP TABLE logging_event_property IF EXISTS; | ||
DROP TABLE logging_event IF EXISTS; | ||
CREATE TABLE logging_event ( | ||
timestmp BIGINT NOT NULL, | ||
formatted_message LONGVARCHAR NOT NULL, | ||
logger_name VARCHAR(256) NOT NULL, | ||
level_string VARCHAR(256) NOT NULL, | ||
thread_name VARCHAR(256), | ||
reference_flag SMALLINT, | ||
arg0 VARCHAR(256), | ||
arg1 VARCHAR(256), | ||
arg2 VARCHAR(256), | ||
arg3 VARCHAR(256), | ||
caller_filename VARCHAR(256), | ||
caller_class VARCHAR(256), | ||
caller_method VARCHAR(256), | ||
caller_line CHAR(4), | ||
event_id BIGINT NOT NULL IDENTITY); | ||
CREATE TABLE logging_event_property ( | ||
event_id BIGINT NOT NULL, | ||
mapped_key VARCHAR(254) NOT NULL, | ||
mapped_value LONGVARCHAR, | ||
PRIMARY KEY(event_id, mapped_key), | ||
FOREIGN KEY (event_id) REFERENCES logging_event(event_id)); | ||
CREATE TABLE logging_event_exception ( | ||
event_id BIGINT NOT NULL, | ||
i SMALLINT NOT NULL, | ||
trace_line VARCHAR(256) NOT NULL, | ||
PRIMARY KEY(event_id, i), | ||
FOREIGN KEY (event_id) REFERENCES logging_event(event_id)); |
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