Azure Web Job logs












0















I want to check my WebJob app.
I am sending a queue message to 'blobsaddressqueueu' queue.



After few seconds the message disappears from the queue - means that it triggered the WebJob app.
Then I see the message in 'blobsaddressqueueu-poison' - means that something went wrong in the process.



When I go to Log Stream (after I turn it on) under ParseMatanDataWebJob20170214032408, I do not see any changes and the only message I get in Log Stream is 'No new trace in the past 1 min(s)' and so on.



What am I doing wrong?



All I want to do is check the csv file (the queue message directs the webJob to the blob container with the csv file), and check the process when the csv file is read by WebJob so I will figure out why it goes to poison.










share|improve this question























  • A simple Console.WriteLine will do the trick to log in webjobs.Put some try/catch block and try to log with console.writeLine

    – Jayendran
    Jan 1 at 14:29











  • When you test it locally, any other messages can you see?

    – Ivan Yang
    Jan 2 at 6:05
















0















I want to check my WebJob app.
I am sending a queue message to 'blobsaddressqueueu' queue.



After few seconds the message disappears from the queue - means that it triggered the WebJob app.
Then I see the message in 'blobsaddressqueueu-poison' - means that something went wrong in the process.



When I go to Log Stream (after I turn it on) under ParseMatanDataWebJob20170214032408, I do not see any changes and the only message I get in Log Stream is 'No new trace in the past 1 min(s)' and so on.



What am I doing wrong?



All I want to do is check the csv file (the queue message directs the webJob to the blob container with the csv file), and check the process when the csv file is read by WebJob so I will figure out why it goes to poison.










share|improve this question























  • A simple Console.WriteLine will do the trick to log in webjobs.Put some try/catch block and try to log with console.writeLine

    – Jayendran
    Jan 1 at 14:29











  • When you test it locally, any other messages can you see?

    – Ivan Yang
    Jan 2 at 6:05














0












0








0








I want to check my WebJob app.
I am sending a queue message to 'blobsaddressqueueu' queue.



After few seconds the message disappears from the queue - means that it triggered the WebJob app.
Then I see the message in 'blobsaddressqueueu-poison' - means that something went wrong in the process.



When I go to Log Stream (after I turn it on) under ParseMatanDataWebJob20170214032408, I do not see any changes and the only message I get in Log Stream is 'No new trace in the past 1 min(s)' and so on.



What am I doing wrong?



All I want to do is check the csv file (the queue message directs the webJob to the blob container with the csv file), and check the process when the csv file is read by WebJob so I will figure out why it goes to poison.










share|improve this question














I want to check my WebJob app.
I am sending a queue message to 'blobsaddressqueueu' queue.



After few seconds the message disappears from the queue - means that it triggered the WebJob app.
Then I see the message in 'blobsaddressqueueu-poison' - means that something went wrong in the process.



When I go to Log Stream (after I turn it on) under ParseMatanDataWebJob20170214032408, I do not see any changes and the only message I get in Log Stream is 'No new trace in the past 1 min(s)' and so on.



What am I doing wrong?



All I want to do is check the csv file (the queue message directs the webJob to the blob container with the csv file), and check the process when the csv file is read by WebJob so I will figure out why it goes to poison.







azure azure-webjobs azure-queues






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 1 at 13:43









I.zvI.zv

1269




1269













  • A simple Console.WriteLine will do the trick to log in webjobs.Put some try/catch block and try to log with console.writeLine

    – Jayendran
    Jan 1 at 14:29











  • When you test it locally, any other messages can you see?

    – Ivan Yang
    Jan 2 at 6:05



















  • A simple Console.WriteLine will do the trick to log in webjobs.Put some try/catch block and try to log with console.writeLine

    – Jayendran
    Jan 1 at 14:29











  • When you test it locally, any other messages can you see?

    – Ivan Yang
    Jan 2 at 6:05

















A simple Console.WriteLine will do the trick to log in webjobs.Put some try/catch block and try to log with console.writeLine

– Jayendran
Jan 1 at 14:29





A simple Console.WriteLine will do the trick to log in webjobs.Put some try/catch block and try to log with console.writeLine

– Jayendran
Jan 1 at 14:29













When you test it locally, any other messages can you see?

– Ivan Yang
Jan 2 at 6:05





When you test it locally, any other messages can you see?

– Ivan Yang
Jan 2 at 6:05












1 Answer
1






active

oldest

votes


















1















I do not see any changes and the only message I get in Log Stream is
'No new trace in the past 1 min(s)' and so on.




Maybe you could change your Logging Level in diagnostics logs, and if your level is right and you could not see the logs you could go to D:homeLogFilesSiteExtensionsKudu in Kudu to check the detailed log file.



For you I suggest checking the running logs, you could get it in portal like the pic shows.Also you could get the log file in Kudu at data/jobs/continuous/jobName.
enter image description here



You still could add trace message logging in a WebJob, about the details you could refer to this article.



If you still have other questions, please me know.






share|improve this answer
























  • Thank you, I actually do have other question, I posted it here as well: stackoverflow.com/questions/54021998/… Thanks

    – I.zv
    Jan 3 at 13:04











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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53995944%2fazure-web-job-logs%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









1















I do not see any changes and the only message I get in Log Stream is
'No new trace in the past 1 min(s)' and so on.




Maybe you could change your Logging Level in diagnostics logs, and if your level is right and you could not see the logs you could go to D:homeLogFilesSiteExtensionsKudu in Kudu to check the detailed log file.



For you I suggest checking the running logs, you could get it in portal like the pic shows.Also you could get the log file in Kudu at data/jobs/continuous/jobName.
enter image description here



You still could add trace message logging in a WebJob, about the details you could refer to this article.



If you still have other questions, please me know.






share|improve this answer
























  • Thank you, I actually do have other question, I posted it here as well: stackoverflow.com/questions/54021998/… Thanks

    – I.zv
    Jan 3 at 13:04
















1















I do not see any changes and the only message I get in Log Stream is
'No new trace in the past 1 min(s)' and so on.




Maybe you could change your Logging Level in diagnostics logs, and if your level is right and you could not see the logs you could go to D:homeLogFilesSiteExtensionsKudu in Kudu to check the detailed log file.



For you I suggest checking the running logs, you could get it in portal like the pic shows.Also you could get the log file in Kudu at data/jobs/continuous/jobName.
enter image description here



You still could add trace message logging in a WebJob, about the details you could refer to this article.



If you still have other questions, please me know.






share|improve this answer
























  • Thank you, I actually do have other question, I posted it here as well: stackoverflow.com/questions/54021998/… Thanks

    – I.zv
    Jan 3 at 13:04














1












1








1








I do not see any changes and the only message I get in Log Stream is
'No new trace in the past 1 min(s)' and so on.




Maybe you could change your Logging Level in diagnostics logs, and if your level is right and you could not see the logs you could go to D:homeLogFilesSiteExtensionsKudu in Kudu to check the detailed log file.



For you I suggest checking the running logs, you could get it in portal like the pic shows.Also you could get the log file in Kudu at data/jobs/continuous/jobName.
enter image description here



You still could add trace message logging in a WebJob, about the details you could refer to this article.



If you still have other questions, please me know.






share|improve this answer














I do not see any changes and the only message I get in Log Stream is
'No new trace in the past 1 min(s)' and so on.




Maybe you could change your Logging Level in diagnostics logs, and if your level is right and you could not see the logs you could go to D:homeLogFilesSiteExtensionsKudu in Kudu to check the detailed log file.



For you I suggest checking the running logs, you could get it in portal like the pic shows.Also you could get the log file in Kudu at data/jobs/continuous/jobName.
enter image description here



You still could add trace message logging in a WebJob, about the details you could refer to this article.



If you still have other questions, please me know.







share|improve this answer












share|improve this answer



share|improve this answer










answered Jan 2 at 2:09









George ChenGeorge Chen

1,107118




1,107118













  • Thank you, I actually do have other question, I posted it here as well: stackoverflow.com/questions/54021998/… Thanks

    – I.zv
    Jan 3 at 13:04



















  • Thank you, I actually do have other question, I posted it here as well: stackoverflow.com/questions/54021998/… Thanks

    – I.zv
    Jan 3 at 13:04

















Thank you, I actually do have other question, I posted it here as well: stackoverflow.com/questions/54021998/… Thanks

– I.zv
Jan 3 at 13:04





Thank you, I actually do have other question, I posted it here as well: stackoverflow.com/questions/54021998/… Thanks

– I.zv
Jan 3 at 13:04




















draft saved

draft discarded




















































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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53995944%2fazure-web-job-logs%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

MongoDB - Not Authorized To Execute Command

in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith

Npm cannot find a required file even through it is in the searched directory