Skip to content

No way to override log file path #19

Description

@carestad

In https://github.com/browserstack/browserstack-local-php/blob/master/lib/Local.php#L17 there is a hardcoded link to where local.log is being stored, which can not be overridden. This file usually ends up in my project's root folder to great annoyance.

Could this for instance be fetched from the environment like the BROWSERSTACK_ACCESS_KEY, but default to getcwd() . "/local.log" it that is not set?

Would you accept a pull request on the matter?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to 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