monolog sending old logs Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) Data science time! April 2019 and salary with experience The Ask Question Wizard is Live!Symfony2/Monolog: Log Level - only show app.INFO?Log rotating with Monolog in Symfony2Logging full stack trace with MonologLog PHP fatal errors in Symfony2 using MonologSymfony2 - How to log multiline entries with monolog?Monolog logs file for every sessionError Symfony 3 with Monolog & swift mailerSending log emails with monologHow to email console errors in symfonyGroup Symfony/Monolog log messages
For a new assistant professor in CS, how to build/manage a publication pipeline
Significance of Cersei's obsession with elephants?
Denied boarding although I have proper visa and documentation. To whom should I make a complaint?
2001: A Space Odyssey's use of the song "Daisy Bell" (Bicycle Built for Two); life imitates art or vice-versa?
Extracting terms with certain heads in a function
Do I really need to have a message in a novel to appeal to readers?
Amount of permutations on an NxNxN Rubik's Cube
Do I really need recursive chmod to restrict access to a folder?
Is the Standard Deduction better than Itemized when both are the same amount?
How to convince students of the implication truth values?
Can an alien society believe that their star system is the universe?
Is it fair for a professor to grade us on the possession of past papers?
Why aren't air breathing engines used as small first stages
What do you call the main part of a joke?
When a candle burns, why does the top of wick glow if bottom of flame is hottest?
How can I use the Python library networkx from Mathematica?
If a contract sometimes uses the wrong name, is it still valid?
Is it cost-effective to upgrade an old-ish Giant Escape R3 commuter bike with entry-level branded parts (wheels, drivetrain)?
Dating a Former Employee
Most bit efficient text communication method?
Has negative voting ever been officially implemented in elections, or seriously proposed, or even studied?
Do jazz musicians improvise on the parent scale in addition to the chord-scales?
Withdrew £2800, but only £2000 shows as withdrawn on online banking; what are my obligations?
How do I find out the mythology and history of my Fortress?
monolog sending old logs
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
Data science time! April 2019 and salary with experience
The Ask Question Wizard is Live!Symfony2/Monolog: Log Level - only show app.INFO?Log rotating with Monolog in Symfony2Logging full stack trace with MonologLog PHP fatal errors in Symfony2 using MonologSymfony2 - How to log multiline entries with monolog?Monolog logs file for every sessionError Symfony 3 with Monolog & swift mailerSending log emails with monologHow to email console errors in symfonyGroup Symfony/Monolog log messages
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
W have web-app, built with symfony-flex. For deployment, I am using capistrano. For logging critical logs, I have configured monolog in this way:
monolog:
handlers:
main:
type: fingers_crossed
action_level: error
channels: ['!translation']
excluded_http_codes: [ 404: ['^/security/login'] ]
handler: grouped
grouped:
type: group
members: [deduplicated]
deduplicated:
type: deduplication
handler: swift
swift:
type: swift_mailer
from_email: '%mailer_user%'
to_email: ['email1@gmail.com', 'email2@gmail.com']
subject: "📞🚨 %%level_name%% %%level%%"
level: info
formatter: monolog.formatter.html
content_type: text/html
SwiftMailer configuration:
swiftmailer:
url: '%env(MAILER_URL)%'
spool: type: 'memory'
And all works fine except logs after each release. I'm getting old logs which were sent before. Example:
Maybe i have missed something in configuration?
symfony capistrano monolog symfony-flex
|
show 1 more comment
W have web-app, built with symfony-flex. For deployment, I am using capistrano. For logging critical logs, I have configured monolog in this way:
monolog:
handlers:
main:
type: fingers_crossed
action_level: error
channels: ['!translation']
excluded_http_codes: [ 404: ['^/security/login'] ]
handler: grouped
grouped:
type: group
members: [deduplicated]
deduplicated:
type: deduplication
handler: swift
swift:
type: swift_mailer
from_email: '%mailer_user%'
to_email: ['email1@gmail.com', 'email2@gmail.com']
subject: "📞🚨 %%level_name%% %%level%%"
level: info
formatter: monolog.formatter.html
content_type: text/html
SwiftMailer configuration:
swiftmailer:
url: '%env(MAILER_URL)%'
spool: type: 'memory'
And all works fine except logs after each release. I'm getting old logs which were sent before. Example:
Maybe i have missed something in configuration?
symfony capistrano monolog symfony-flex
This might have something to do with swiftmailer's spooler. Can you show us the Swiftmailer config?
– Emanuel Oster
Sep 6 '18 at 9:37
@EmanuelOster i use default one, added to question.
– kRicha
Sep 6 '18 at 9:38
Did you solve your problem, yet?
– Peter Branforn
Oct 4 '18 at 17:48
Did you check this is not a mail server issue with both sides of outgoing and incoming servers? Mail servers can queue mails when there is a lot request and this might be both end of mail transaction. Maybe you can test this with simple local smtp server like MailDev github.com/djfarrelly/MailDev
– Uğur Erkan
Oct 5 '18 at 7:47
what i always do is removing this line. spool: type: 'memory'
– Puya Sarmidani
Nov 21 '18 at 19:00
|
show 1 more comment
W have web-app, built with symfony-flex. For deployment, I am using capistrano. For logging critical logs, I have configured monolog in this way:
monolog:
handlers:
main:
type: fingers_crossed
action_level: error
channels: ['!translation']
excluded_http_codes: [ 404: ['^/security/login'] ]
handler: grouped
grouped:
type: group
members: [deduplicated]
deduplicated:
type: deduplication
handler: swift
swift:
type: swift_mailer
from_email: '%mailer_user%'
to_email: ['email1@gmail.com', 'email2@gmail.com']
subject: "📞🚨 %%level_name%% %%level%%"
level: info
formatter: monolog.formatter.html
content_type: text/html
SwiftMailer configuration:
swiftmailer:
url: '%env(MAILER_URL)%'
spool: type: 'memory'
And all works fine except logs after each release. I'm getting old logs which were sent before. Example:
Maybe i have missed something in configuration?
symfony capistrano monolog symfony-flex
W have web-app, built with symfony-flex. For deployment, I am using capistrano. For logging critical logs, I have configured monolog in this way:
monolog:
handlers:
main:
type: fingers_crossed
action_level: error
channels: ['!translation']
excluded_http_codes: [ 404: ['^/security/login'] ]
handler: grouped
grouped:
type: group
members: [deduplicated]
deduplicated:
type: deduplication
handler: swift
swift:
type: swift_mailer
from_email: '%mailer_user%'
to_email: ['email1@gmail.com', 'email2@gmail.com']
subject: "📞🚨 %%level_name%% %%level%%"
level: info
formatter: monolog.formatter.html
content_type: text/html
SwiftMailer configuration:
swiftmailer:
url: '%env(MAILER_URL)%'
spool: type: 'memory'
And all works fine except logs after each release. I'm getting old logs which were sent before. Example:
Maybe i have missed something in configuration?
symfony capistrano monolog symfony-flex
symfony capistrano monolog symfony-flex
edited Mar 22 at 9:32
Ярослав Рахматуллин
4,99312648
4,99312648
asked Sep 6 '18 at 9:23
kRichakRicha
381421
381421
This might have something to do with swiftmailer's spooler. Can you show us the Swiftmailer config?
– Emanuel Oster
Sep 6 '18 at 9:37
@EmanuelOster i use default one, added to question.
– kRicha
Sep 6 '18 at 9:38
Did you solve your problem, yet?
– Peter Branforn
Oct 4 '18 at 17:48
Did you check this is not a mail server issue with both sides of outgoing and incoming servers? Mail servers can queue mails when there is a lot request and this might be both end of mail transaction. Maybe you can test this with simple local smtp server like MailDev github.com/djfarrelly/MailDev
– Uğur Erkan
Oct 5 '18 at 7:47
what i always do is removing this line. spool: type: 'memory'
– Puya Sarmidani
Nov 21 '18 at 19:00
|
show 1 more comment
This might have something to do with swiftmailer's spooler. Can you show us the Swiftmailer config?
– Emanuel Oster
Sep 6 '18 at 9:37
@EmanuelOster i use default one, added to question.
– kRicha
Sep 6 '18 at 9:38
Did you solve your problem, yet?
– Peter Branforn
Oct 4 '18 at 17:48
Did you check this is not a mail server issue with both sides of outgoing and incoming servers? Mail servers can queue mails when there is a lot request and this might be both end of mail transaction. Maybe you can test this with simple local smtp server like MailDev github.com/djfarrelly/MailDev
– Uğur Erkan
Oct 5 '18 at 7:47
what i always do is removing this line. spool: type: 'memory'
– Puya Sarmidani
Nov 21 '18 at 19:00
This might have something to do with swiftmailer's spooler. Can you show us the Swiftmailer config?
– Emanuel Oster
Sep 6 '18 at 9:37
This might have something to do with swiftmailer's spooler. Can you show us the Swiftmailer config?
– Emanuel Oster
Sep 6 '18 at 9:37
@EmanuelOster i use default one, added to question.
– kRicha
Sep 6 '18 at 9:38
@EmanuelOster i use default one, added to question.
– kRicha
Sep 6 '18 at 9:38
Did you solve your problem, yet?
– Peter Branforn
Oct 4 '18 at 17:48
Did you solve your problem, yet?
– Peter Branforn
Oct 4 '18 at 17:48
Did you check this is not a mail server issue with both sides of outgoing and incoming servers? Mail servers can queue mails when there is a lot request and this might be both end of mail transaction. Maybe you can test this with simple local smtp server like MailDev github.com/djfarrelly/MailDev
– Uğur Erkan
Oct 5 '18 at 7:47
Did you check this is not a mail server issue with both sides of outgoing and incoming servers? Mail servers can queue mails when there is a lot request and this might be both end of mail transaction. Maybe you can test this with simple local smtp server like MailDev github.com/djfarrelly/MailDev
– Uğur Erkan
Oct 5 '18 at 7:47
what i always do is removing this line. spool: type: 'memory'
– Puya Sarmidani
Nov 21 '18 at 19:00
what i always do is removing this line. spool: type: 'memory'
– Puya Sarmidani
Nov 21 '18 at 19:00
|
show 1 more comment
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f52200810%2fmonolog-sending-old-logs%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f52200810%2fmonolog-sending-old-logs%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
This might have something to do with swiftmailer's spooler. Can you show us the Swiftmailer config?
– Emanuel Oster
Sep 6 '18 at 9:37
@EmanuelOster i use default one, added to question.
– kRicha
Sep 6 '18 at 9:38
Did you solve your problem, yet?
– Peter Branforn
Oct 4 '18 at 17:48
Did you check this is not a mail server issue with both sides of outgoing and incoming servers? Mail servers can queue mails when there is a lot request and this might be both end of mail transaction. Maybe you can test this with simple local smtp server like MailDev github.com/djfarrelly/MailDev
– Uğur Erkan
Oct 5 '18 at 7:47
what i always do is removing this line. spool: type: 'memory'
– Puya Sarmidani
Nov 21 '18 at 19:00