Alexander Gerbig
created
LOGBACK-792
Column size to big for database columns used by DBAppender
Issue Type:
Bug
Affects Versions:
1.0.9
Assignee:
Logback dev list
Components:
logback-classic
Created:
03/Jan/13 9:28 AM
Description:
I am logging data into a mssql database with the DBAppender.
When I created the necessary tables with the provided script I experienced the following error:
Error 2750: Specified Column Precision 40 Is Greater Than the Maximum Precision of 38.
The column size of the column event_id in all tables is to large
The following script contains the error:
https://github.com/qos-ch/logback/blob/master/logback-classic/src/main/java/ch/qos/logback/classic/db/script/mssql.sql
I changed the column size to 38 and that works.
Environment:
Database: mssql
Project:
logback
Priority:
Trivial
Reporter:
Alexander Gerbig
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your
JIRA administrators
.
For more information on JIRA, see:
http://www.atlassian.com/software/jira