Skip to content

[Enhancement] Want's to see yii log in artifacts if test fails #7

Closed
@aywan

Description

@aywan

Hi.
I get a problems, when test run on another server with CI. It's hard to recreate same environment at local. In our code we are logging some exceptions and returning only error message without description. But at same moment everything writes to log.
But Codeception\Lib\Connector\Yii2\Logger send it only to Codeception debug, and it's not possible to see it without debug flag.

I propose sending this log to Codeception metadata artifacts. I quickly made "ugly" variant of solution #8 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions