question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Console not displaying messages

See original GitHub issue

Hi, I’m using on Hangfire console 1.3.0 with Hangfire 1.6.9, I’m using MySql storage but console is not displayed on Job Details.

My startup:

            GlobalConfiguration.Configuration
                .UseStorage(new MySqlStorage("HangFireMySqlContext"))
                .UseConsole(new ConsoleOptions { ExpireIn = TimeSpan.FromDays(30) });


            var dashboardOptions = new DashboardOptions();
            dashboardOptions.Authorization = new[] { new HangFireAuthorizationFilter() };
            app.UseHangfireDashboard("/hangfire" , dashboardOptions);
            app.UseHangfireServer(new BackgroundJobServerOptions { WorkerCount = 3 });

            HangfireServices services = new HangfireServices();
            services.StartDownload();
            services.StartParse();
            services.StartSend();

I tried to turn-off cache for all application in this way:

public class FilterConfig { public static void RegisterGlobalFilters(GlobalFilterCollection filters) { filters.Add(new OutputCacheAttribute { VaryByParam = "*", Duration = 0, NoStore = true, }); } }

I check the records are properly stored on “set” table in my database but I had no display on Job Details, sometimes when I reset my database and re-start deployment the first time of job execution display console but not on the next scheduled times.

Looking to Chrome Developer Tools \ Network, I can see no \hangfire\console requests

Do you have some idea to fix it ?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:16 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
pieceofsummercommented, May 31, 2017

Nice. The issue can be closed now, I suppose.

0reactions
arnoldasgudascommented, May 31, 2017
Read more comments on GitHub >

github_iconTop Results From Across the Web

Console.log messages not showing up in Chrome's ...
While in the console tab, pressing F1 should open the setting page. There you will different settings that you can adjust including the...
Read more >
[reported] Why don't my console.log appear in the console?
My code is accepted when I submit and I get green light to move on, but console.log ("xxx"); calls are not appearing the...
Read more >
[Javascript] console.log messages are not shown in ...
I'm a bit perplexed. Very new to Javascript. I've tried Firefox and Chrome, and neither of them show the console.log message. document.
Read more >
Console app not showing info and debug logs
I've tried running the Console app as root, via sudo from the command line and the same issue occurs; no debug or info...
Read more >
Log messages in the Console - Chrome Developers
Learn how to log messages to the Console. ... Open the Command Menu, start typing Console , select the Show Console Panel command, ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found