alphred
alphred copied to clipboard
Suppress Warnings related log file renaming
So first. Thanks for the framework..
Today I noticed my scripts started to output these warnings:
Warning: rename(/Users/critter/Library/Application Support/Alfred 2/Workflow Data/com.413critter.zoho//Users/critter/Library/Application Support/Alfred 2/Workflow Data/com.413critter.zoho/debug.log.log,.log.1.log): No such file or directory in phar:///Users/critter/Library/Application Support/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.21A14F33-2737-4B62-86CD-F8C2CD8C7FDC/Alphred.phar/classes/Log.php on line 203
Warning: file_put_contents(/Users/critter/Library/Application Support/Alfred 2/Workflow Data/com.413critter.zoho//Users/critter/Library/Application Support/Alfred 2/Workflow Data/com.413critter.zoho/debug.log.log): failed to open stream: No such file or directory in phar:///Users/critter/Library/Application Support/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.21A14F33-2737-4B62-86CD-F8C2CD8C7FDC/Alphred.phar/classes/Log.php on line 206
Warning: rename(/Users/critter/Library/Application Support/Alfred 2/Workflow Data/com.413critter.zoho//Users/critter/Library/Application Support/Alfred 2/Workflow Data/com.413critter.zoho/debug.log.log,.log.1.log): No such file or directory in phar:///Users/critter/Library/Application Support/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.21A14F33-2737-4B62-86CD-F8C2CD8C7FDC/Alphred.phar/classes/Log.php on line 203
Warning: file_put_contents(/Users/critter/Library/Application Support/Alfred 2/Workflow Data/com.413critter.zoho//Users/critter/Library/Application Support/Alfred 2/Workflow Data/com.413critter.zoho/debug.log.log): failed to open stream: No such file or directory in phar:///Users/critter/Library/Application Support/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.21A14F33-2737-4B62-86CD-F8C2CD8C7FDC/Alphred.phar/classes/Log.php on line 206
Warning: rename(/Users/critter/Library/Application Support/Alfred 2/Workflow Data/com.413critter.zoho//Users/critter/Library/Application Support/Alfred 2/Workflow Data/com.413critter.zoho/debug.log.log,.log.1.log): No such file or directory in phar:///Users/critter/Library/Application Support/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.21A14F33-2737-4B62-86CD-F8C2CD8C7FDC/Alphred.phar/classes/Log.php on line 203
Warning: file_put_contents(/Users/critter/Library/Application Support/Alfred 2/Workflow Data/com.413critter.zoho//Users/critter/Library/Application Support/Alfred 2/Workflow Data/com.413critter.zoho/debug.log.log): failed to open stream: No such file or directory in phar:///Users/critter/Library/Application Support/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.21A14F33-2737-4B62-86CD-F8C2CD8C7FDC/Alphred.phar/classes/Log.php on line 206
Do you have any suggestion?
It looks like there is a bug with the log rotation functions in that they're pulling the wrong paths. I'll look into it.
This should be fixed now. Just download the newest version of the phar from the repo. Thanks for catching it.