View Issue Details

IDProjectCategoryView StatusLast Update
0001913XdebugProfilingpublic2020-12-11 08:27
Reportercaleb.burks Assigned Toderick  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionduplicate 
Product Version3.0.0 
Summary0001913: profiler_output_name timestamps are now in a different, less file-friendly, format.
Description

Apologies if this has already been opened - having trouble filtering through the issues here.

Before 3.0, with a configuration like xdebug.profiler_output_name=cachegrind.out.wpcli-%t-%p the resulting file would be cachegrind.out.wpcli-1179434742-3426.

After 3.0, the file is named: 'cachegrind.out.wpcli-2020-12-11 03:26:18-3473'.

Per the docs, this seems like an accident, and that %t should still be the more file-friendly timestamp: https://xdebug.org/docs/all_settings#trace_output_name

Steps To Reproduce

Set xdebug.profiler_output_name to a file name including the %t variable. Maybe also apply to %u.

TagsNo tags attached.
Operating SystemLinux
PHP Version7.3.20-7.3.29

Relationships

duplicate of 0001904 closedderick Profile and trace files using %t or %u do not get the right names 

Activities

derick

2020-12-11 08:27

administrator   ~0005579

Thanks for your report.

This is a duplicate of 0001904 which is fixed in 3.0.1 already.

Issue History

Date Modified Username Field Change
2020-12-11 03:42 caleb.burks New Issue
2020-12-11 08:27 derick Assigned To => derick
2020-12-11 08:27 derick Status new => closed
2020-12-11 08:27 derick Resolution open => duplicate
2020-12-11 08:27 derick Note Added: 0005579
2020-12-11 08:27 derick Relationship added duplicate of 0001904