| Summary: | Warning when connection to memcached fails is too long | ||
|---|---|---|---|
| Product: | Koha | Reporter: | Fridolin Somers <fridolin.somers> |
| Component: | Architecture, internals, and plumbing | Assignee: | Bugs List <koha-bugs> |
| Status: | NEW --- | QA Contact: | Testopia <testopia> |
| Severity: | normal | ||
| Priority: | P5 - low | ||
| Version: | Main | ||
| Hardware: | All | ||
| OS: | All | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Comma delimited list of Sponsors: | |
| Crowdfunding goal: | 0 | Patch complexity: | --- |
| Documentation contact: | Documentation submission: | ||
| Text to go in the release notes: | Version(s) released in: | ||
| Circulation function: | |||
Actually when connection to memcached fails a warning is created : unless ($ismemcached) { warn "\nConnection to the memcached servers '@servers' failed. Are the unix socket permissions set properly? Is the host reachable?\nIf you ignore this warning, you will face performance issues\n"; return $self; } This will generate 2 lines plus one empty line. It it shown even for CLI scripts. During some system operations or bash scripts, we may shutdown memcached on purpose. In this case warning is annoying. I propose we show a sorter text, and maybe a link to a wiki page. We may choose to remove this warning for it can SPAM log files.