Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • shine 43 posts 83 karma points
    Feb 27, 2013 @ 08:32
    shine
    0

    error log want to set in umbraco

    hello friends,

      I'm very new in umbraco I want to create one log folder in umbraco but how can i configure it for the error like if error generated i wan't log in my log folder how can i do this?

  • Rich Green 2246 posts 4008 karma points
    Feb 27, 2013 @ 09:30
    Rich Green
    0

    Hi Shine,

    I'm not sure what you are trying to do here really, however, I suggest you check out Elmah?

    Rich

  • shine 43 posts 83 karma points
    Feb 27, 2013 @ 09:42
    shine
    0

    budy when my usercontrol have any error and i used in umbraco i want error log

  • Rich Green 2246 posts 4008 karma points
    Feb 27, 2013 @ 09:46
    Rich Green
    0

    You can use the Umbraco API to register an custom Error in the Umbraco Log table.

    Or you can write to any table / file you like using custom code.

    Rich 

Please Sign in or register to post replies

Write your reply to:

Draft