Lots of logging. #2

Closed
opened 2019-05-09 03:02:14 +00:00 by coolaj86 · 2 comments
Owner

Probably want to tone it down just a touch / provide a debug option.

Executing (adbc4d05-4c5c-4c9e-bed2-961cd44b3427): INSERT INTO `Chains` (`id`,`xid`,`createdAt`,`updatedAt`) VALUES (NULL,$1,$2,$3);
Executing (adbc4d05-4c5c-4c9e-bed2-961cd44b3427): COMMIT;
Executing (default): UPDATE `Chains` SET `content`=$1,`updatedAt`=$2 WHERE `id` = $3
Executing (b0d55464-0820-450d-b563-7fb0cba2473e): BEGIN DEFERRED TRANSACTION;
Executing (b0d55464-0820-450d-b563-7fb0cba2473e): SELECT `id`, `subject`, `cert`, `issuedAt`, `expiresAt`, `altnames`, `chain`, `createdAt`, `updatedAt` FROM `Certificates` AS `Certificate` WHERE `Certificate`.`subject` = 'test.therootcompany.com';
Executing (b0d55464-0820-450d-b563-7fb0cba2473e): INSERT INTO `Certificates` (`id`,`subject`,`createdAt`,`updatedAt`) VALUES (NULL,$1,$2,$3);
Executing (b0d55464-0820-450d-b563-7fb0cba2473e): COMMIT;
Probably want to tone it down just a touch / provide a debug option. ``` Executing (adbc4d05-4c5c-4c9e-bed2-961cd44b3427): INSERT INTO `Chains` (`id`,`xid`,`createdAt`,`updatedAt`) VALUES (NULL,$1,$2,$3); Executing (adbc4d05-4c5c-4c9e-bed2-961cd44b3427): COMMIT; Executing (default): UPDATE `Chains` SET `content`=$1,`updatedAt`=$2 WHERE `id` = $3 Executing (b0d55464-0820-450d-b563-7fb0cba2473e): BEGIN DEFERRED TRANSACTION; Executing (b0d55464-0820-450d-b563-7fb0cba2473e): SELECT `id`, `subject`, `cert`, `issuedAt`, `expiresAt`, `altnames`, `chain`, `createdAt`, `updatedAt` FROM `Certificates` AS `Certificate` WHERE `Certificate`.`subject` = 'test.therootcompany.com'; Executing (b0d55464-0820-450d-b563-7fb0cba2473e): INSERT INTO `Certificates` (`id`,`subject`,`createdAt`,`updatedAt`) VALUES (NULL,$1,$2,$3); Executing (b0d55464-0820-450d-b563-7fb0cba2473e): COMMIT; ```
Member
https://stackoverflow.com/a/28927913/2535178
Member

fixed by pr #13

fixed by pr #13
Sign in to join this conversation.
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: root/greenlock-store-sequelize.js#2
No description provided.