Download the PHP package dpc-sdp/tide_logs without Composer

On this page you can find all versions of the php package dpc-sdp/tide_logs. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package tide_logs

Tide Logs

Provides a SumoLogic handler for Monolog.

Requirements

There is also a soft dependency on the following modules

Activation

  1. The module requires a working Sumo Logic OTEL Collector to which it can send logs.

    1. A helm chart has been created here for easy installation on Kubernetes clusters.
    2. To test locally, in a test project:

      1. Create a file at .docker/sumologic-otel/config.yaml with the following content:

      2. Add a service to docker-compose.yml as follows:

      3. Running ahoy up will register the instance with Sumo Logic; it's now ready to start collecting logs. Run docker-compose logs -f sumo-otel to make sure there were no errors. The last line should be something like
  2. Enable the Tide Logs module. Go to /admin/config/development/tide_logs and ensure UDPlog host and UDPlog port correspond to the service's name and the port in the config.yaml respectively, if running with docker-compose. The module's default is udp://logger.default.svc:5514 (see the default config here).
  3. SUMOLOGIC_CATEGORY can also be set if a different category from the default (sdp/dev/tide) is required.
  4. The following search query can then be used in SumoLogic to view the logs:

Debug

Some very basic debug messages can be printed locally (or remotely if you have drush access) by setting the following config variable:


All versions of tide_logs with dependencies

PHP Build Version
Package Version
Requires drupal/lagoon_logs Version ^2.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package dpc-sdp/tide_logs contains the following files

Loading the files please wait ....