Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use extrainfo for logging instead of too long message #596

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [7.3.0] - 2024-12-18

## [7.3.0] - 2024-05-13

### New Feature
Expand Down Expand Up @@ -302,9 +304,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

* * *

[Unreleased]: https://github.com/ColdBox/coldbox-platform/compare/v7.3.0...HEAD
[Unreleased]: https://github.com/GunnarLieb/coldbox-platform/compare/v7.3.0...HEAD

[7.3.0]: https://github.com/GunnarLieb/coldbox-platform/compare/v7.3.0...v7.3.0

[7.3.0]: https://github.com/ColdBox/coldbox-platform/compare/v7.2.1...v7.3.0

[7.2.1]: https://github.com/ColdBox/coldbox-platform/compare/v7.2.0...v7.2.1

Expand Down
3 changes: 2 additions & 1 deletion system/cache/policies/FIFO.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ component extends="coldbox.system.cache.policies.AbstractEvictionPolicy" {
* Execute the policy
*/
void function execute(){
var e = {};
// Get searchable index
try {
var index = getAssociatedCache()
Expand All @@ -34,7 +35,7 @@ component extends="coldbox.system.cache.policies.AbstractEvictionPolicy" {
// process evictions
processEvictions( index );
} catch ( Any e ) {
getLogger().error( "Error sorting via store indexer #e.message# #e.detail# #e.stackTrace#." );
getLogger().error( "Error sorting via store indexer #e.message#", e );
}
}

Expand Down
3 changes: 2 additions & 1 deletion system/cache/policies/LFU.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ component extends="coldbox.system.cache.policies.AbstractEvictionPolicy" {
* Execute the policy
*/
void function execute(){
var e = {};
// Get searchable index
try {
var index = getAssociatedCache()
Expand All @@ -35,7 +36,7 @@ component extends="coldbox.system.cache.policies.AbstractEvictionPolicy" {
// process evictions
processEvictions( index );
} catch ( any e ) {
getLogger().error( "Error sorting via store indexer #e.message# #e.detail# #e.stackTrace#." );
getLogger().error( "Error sorting via store indexer #e.message#", e );
}
}

Expand Down
3 changes: 2 additions & 1 deletion system/cache/policies/LIFO.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ component extends="coldbox.system.cache.policies.AbstractEvictionPolicy" {
* Execute the policy
*/
void function execute(){
var e = {};
// Get searchable index
try {
var index = getAssociatedCache()
Expand All @@ -38,7 +39,7 @@ component extends="coldbox.system.cache.policies.AbstractEvictionPolicy" {
// process evictions
processEvictions( index );
} catch ( Any e ) {
getLogger().error( "Error sorting via store indexer #e.message# #e.detail# #e.stackTrace#." );
getLogger().error( "Error sorting via store indexer #e.message#", e );
}
}

Expand Down
3 changes: 2 additions & 1 deletion system/cache/policies/LRU.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ component extends="coldbox.system.cache.policies.AbstractEvictionPolicy" {
* Execute the policy
*/
void function execute(){
var e = {};
// Get searchable index
try {
var index = getAssociatedCache()
Expand All @@ -35,7 +36,7 @@ component extends="coldbox.system.cache.policies.AbstractEvictionPolicy" {
// process evictions
processEvictions( index );
} catch ( Any e ) {
getLogger().error( "Error sorting via store indexer #e.message# #e.detail# #e.stackTrace#." );
getLogger().error( "Error sorting via store indexer #e.message#", e );
}
}

Expand Down