i have to apologize my English (because I'm German )
I have looked for an option to send errors, that are logged in the error log on the server via mail, but i did not find it in this forum...
Is there any possibility to send those errors (like error while importing XML Testcases) by mail?
If yes, what must be changed in TestLink 1.9.3 (Prague) config?
Maybe this will help a bit
Server: Debian
Database: MySql (hosted on an other server)
I know it is possible to create own "add-ons" but, i never did something like this.
Is there any stuff that is telling me what must be made to solve my prob?
The kind of info you need is mpre PHP than TestLink, then think you have to do some searchs on the net.
What is not clear for me , is why you want to have this kind of alerts.
I need those alarms because i am the only one who has access to the server.
If i am not at office and there will happen an error while importing Testcases in xml files nobody will be able to read the logs...
And the error message on the frontend does not display the same error messages.
They depend on each other but the internal testlink error handling does not show sql import errors or something like this...
Or is there any other way to display them?
Maybe you can display them too?
give a look to files on [TL INSTALLATION DIR]/logs/ (do not remember if we have all info there).
may be you can accept a workaround => write a scheduled job (user your Operation System job scheduler) to mail you these files.
what about creating a role that can ONLY give a look to event viewer ? (again do not remember if you have there all info you need/want)
It would be a good Idea if you can display SQL syntax errors that are logged in the files in Testlink too....
I don't know if it is possible...
But if, i would create this role...
But there is an other problem...
This role can only look into loggs for each project...
It is easier if i would create this workarround and could send those mails...
Because we have more than six different projects that must be displayed while there occur errors...
you need to give a look to method watchPHPErrors() in logger.class.php and can do a quick and dirty solution.
I'm going to add this as feature request on mantis because seems an interesting feature (hmm may be you can make a donation if
we provide a good feature)
I'll check it if i have less projects to test...
At the moment i am running out of resources...
I am not able to create Testcases while testing... i have to create them in the next Scrum Sprint...
Only because of a rc, that should be offered to our customers...
But thanks for the information.
I'll check it and i'll give you a feedback about that option.