Skip to content

Function execution logs are duplicated in App Service log stream #1431

Open
@paulbatum

Description

@paulbatum

If you access the log stream for your entire function app, you will see duplicated entries for function starting/completion:

image

When a function executes with file logging enabled, the following entries are written to both the host log and the function log, i.e. to files in:

  • D:\home\LogFiles\Application\Functions\Host\

  • D:\home\LogFiles\Application\Functions\Function\function-name\

The entries look like this:

2017-04-18T22:54:20.013 Function started (Id=8c130624-cfb2-47d7-8e1f-05047a10a17d)
2017-04-18T22:54:20.013 Function completed (Success, Id=8c130624-cfb2-47d7-8e1f-05047a10a17d, Duration=0ms)

Because the same entry is written to both locations, it appears in the log stream twice.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions