Skip to main content
Announcements
Global Transformation Awards! Applications are now open. Submit Entry
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

AMC LOG Table

Hi Team

 

i am using AMC log table Creation I have created my log table as per below schema

 

CREATE TABLE `amclogdata` (
  `moment` datetime DEFAULT NULL,
  `pid` varchar(20) DEFAULT NULL,
  `root_pid` varchar(20) DEFAULT NULL,
  `father_pid` varchar(20) DEFAULT NULL,
  `project` varchar(50) DEFAULT NULL,
  `job` varchar(255) DEFAULT NULL,
  `context` varchar(50) DEFAULT NULL,
  `priority` int(3) DEFAULT NULL,
  `type` varchar(255) DEFAULT NULL,
  `origin` varchar(255) DEFAULT NULL,
  `message` varchar(255) DEFAULT NULL,
  `code` int(3) DEFAULT NULL
);

 

But the  message is too large so that record is not inserting into the table and i am getting db truncation issue how to solve this.PLease suggest.

 

Thanks

Deepthi

Labels (2)
1 Reply
Anonymous
Not applicable
Author

Have you tried rebuilding your log table with the message column resized to something a bit larger? Also, are you sizing in chars or bytes? Are the characters you are using multi byte?