bugnet icon indicating copy to clipboard operation
bugnet copied to clipboard

Bugnet error log is empty

Open vickeybird opened this issue 9 years ago • 7 comments

I'm working on my first Bugnet implementation. I encountered errors while testing SMTP configuration which instructed me to view error log for details. However there were no errors reported in the error log page.

I looked into the BugNet_ApplicationLog table in the database and found it empty. Do i have to explicitly enable logging to get it working? Apart from this issue, the application runs fine which means there are no database access issues.

vickeybird avatar Mar 17 '16 13:03 vickeybird

There should be no additional configuration to setup the logging but the error you are getting may not be logged. Can you tell me the steps to reproduce?

dubeaud avatar Mar 17 '16 13:03 dubeaud

First, a big thanks for your quick response. Here are the steps I took.

  1. Access Mail/SMTP settings via Admin/Application configuration.
  2. Fill in details as shown in the attached screenshot.
  3. Click test button.
  4. The error message appears as shown in the screenshot appear.
  5. Access Logviewer via Admin/Log viewer.
  6. There are no errors

Another intriguing fact is that there are no SMTP configuration settings in web.config as described in few blogs about making email integration work. smtpconfig smtperror logviewer

vickeybird avatar Mar 17 '16 19:03 vickeybird

The logging will use the connection string "BugNET" from your web.config, if you changed the name it won't log errors.

dubeaud avatar Mar 24 '16 15:03 dubeaud

I have the same problem, Connection string "BugNET" in Web.Config should be correct, because I can Login the Web system(I think it means the connection string is correct)

comic1976 avatar Aug 22 '16 09:08 comic1976

I have also the same problem with version 1.6.339.0. Error when trying to send test email and no logs in the logs.

Please help!

jacquesmi avatar Sep 03 '16 15:09 jacquesmi

I have the same problem. Application is not logging any error in version 1.6.339, i have debug the code and found issue , issue is ConfigureAdoNetAppender() method in not able to configure adoAppender, as adoAppender is null , application is not logging any error or info.

bikashdasin avatar Oct 22 '16 03:10 bikashdasin

Hello,

You can try and add the following to the appSettings section in the web.config

<add key="log4net.Config" value="log4net.config" />

This is one of a couple of ways to make log4net point to a specific file.

wrhighfield avatar Oct 23 '16 02:10 wrhighfield