Skip to content

Commit

Permalink
Merge 6b231a1 into f7666cd
Browse files Browse the repository at this point in the history
  • Loading branch information
typhonius committed Oct 10, 2020
2 parents f7666cd + 6b231a1 commit 9142026
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 12 deletions.
10 changes: 5 additions & 5 deletions README.md
@@ -1,5 +1,5 @@
[![Packagist](https://img.shields.io/packagist/v/typhonius/acquia-logstream.svg)](https://packagist.org/packages/typhonius/acquia-logstream)
[![Build Status](https://travis-ci.org/typhonius/acquia-logstream.svg?branch=master)](https://travis-ci.org/typhonius/acquia-logstream)
![Acquia Logstream Test](https://github.com/typhonius/acquia-logstream/workflows/Acquia%20Logstream%20Test/badge.svg)
[![Total Downloads](https://poser.pugx.org/typhonius/acquia-logstream/downloads.png)](https://packagist.org/packages/typhonius/acquia-logstream)
[![License](https://poser.pugx.org/typhonius/acquia-logstream/license.png)]()

Expand Down Expand Up @@ -31,8 +31,8 @@ A Phar file will be attached to each tagged release on GitHub. This can be downl
*Shell script*

A shell script has been included as a wrapper for the logstream command which will allow users to run the logstream command directly without further requirements. This can be invoked by running `./bin/logstream acquia:logstream` from the cloned directory.


### PHP Library

The `LogstreamManager` class can be included in any other PHP library as it has been within the [Acquia Cli](https://github.com/typhonius/acquia_cli) tool. The simplest method of including and calling this library is as follows:
Expand Down Expand Up @@ -84,12 +84,12 @@ There are also three optional parameters which can be used to filter log types,
# Stream all logs from all servers
./bin/logstream acquia:logstream APIKEY APISECRET ENVIRONMENTUUID
# Stream Varnish and NGINX logs
# Stream Varnish and NGINX logs
./bin/logstream acquia:logstream APIKEY APISECRET ENVIRONMENTUUID -t bal-request -t varnish-request
# Stream PHP error and Apache error logs from one server
./bin/logstream acquia:logstream APIKEY APISECRET ENVIRONMENTUUID -t php-error -t apache-error -s web-1234
# Stream all logs with colourisation to determine which log type is used
./bin/logstream acquia:logstream APIKEY APISECRET ENVIRONMENTUUID -c
````
````
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -12,7 +12,7 @@
"typhonius/acquia-php-sdk-v2": "^2.0.0",
"ratchet/pawl": "^0.3",
"symfony/console": "^4 || ^5",
"php": ">=7.1",
"php": ">=7.3",
"consolidation/self-update": "^1.1"
},
"autoload":{
Expand Down
13 changes: 7 additions & 6 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9142026

Please sign in to comment.