asp.net - Azure web site - How to get server error details (truncated trace file) -


i'm using azure web api 2. clients getting 500 errors, , i'm trying figure out why. i've turned on tracing in azure portal, , without truncated file, see great info like:

235. - general_response_entity_buffer  {"message":...,"exceptionmessage"...,"stacktrace":"..... 

the problem log files getting truncated @ 1mb. (the amount of posted json data can large, eats log space.)

i see potentially nice .htm files in logfiles/detailederrors, generic pages without details or trace info.

in web.config set <customerrors mode="off" />. added detail trace files, not detailederrors htm files.

questions:

1) can increase max size of trace file? (i tried unsuccessfully using maxlogfilesizekb, didn't know put it, presumably in web.config.)

2) other way see stack trace information on server errors logfiles directory on server, or otherwise?

i think problem might logging wrong place. there's 3 different places store logs, preview portal makes less clear old azure portal. documentation logging still directs old portal set , can log blob storage or table storage. https://azure.microsoft.com/en-us/documentation/articles/web-sites-enable-diagnostic-log/. logging tables might less limiting.


Comments

Popular posts from this blog

php - Invalid Cofiguration - yii\base\InvalidConfigException - Yii2 -

How to show in django cms breadcrumbs full path? -

ruby on rails - npm error: tunneling socket could not be established, cause=connect ETIMEDOUT -