Skip to content

Commit

Permalink
Merge pull request #2 from lsst-epo/1-change-log-severity
Browse files Browse the repository at this point in the history
Changed log severity
  • Loading branch information
ericdrosas87 authored Oct 16, 2024
2 parents 485d638 + d6198b6 commit 78892c1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).

## 1.2.1 - 2024-10-22
### Changed
- Changed Craft::info() to Craft::warning() so it gets picked up in non-devMode

## 1.2.0 - 2024-7-22
### Changed
- Removed `castiron` from namespace, removed authorship comments, etc.
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "lsst-epo/craft-next-js-builds",
"description": "Invoke Next.js page builds from Craft.",
"type": "craft-plugin",
"version": "1.2.3",
"version": "1.2.4",
"keywords": [
"craft",
"cms",
Expand Down
2 changes: 1 addition & 1 deletion src/services/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public function buildPagesFromEntry(Entry $entry, string $revalidateMenu)
$params["tags"] = ["navigation"];
}
$requestUrl = $endpoint . '?' . http_build_query($params);
Craft::info("Request URL: " .$requestUrl, "REVALIDATE_STATUS");
Craft::warning("Request URL: " .$requestUrl, "REVALIDATE_STATUS"); // for tracking revalidate events

try {
$client->request('GET', $requestUrl, []);
Expand Down

0 comments on commit 78892c1

Please sign in to comment.