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

Remove reliance on linux / unix tail command. #581

Merged
merged 1 commit into from
Oct 24, 2016
Merged

Remove reliance on linux / unix tail command. #581

merged 1 commit into from
Oct 24, 2016

Conversation

AndyTaylorTweet
Copy link
Contributor

Replaced the reliance on 'tail' in the admin module.
Source PHP from here: http://tekkie.flashbit.net/php/tail-functionality-in-php

This should provide a like for like drop in for tail so that Windows server users can still get the log file displayed in the admin module.

Replaced the reliance on 'tail' in the admin module.
Source PHP from here: http://tekkie.flashbit.net/php/tail-functionality-in-php
@AndyTaylorTweet
Copy link
Contributor Author

@Paul-Reed
Copy link
Member

Thanks Andy - a nice update which Windows users will appreciate.
Works fine on Linux, and once merged hopefully will be tested by a Windows user.
Hate to ask Willems @joyrider3774, but...

Paul

@Paul-Reed Paul-Reed merged commit deba599 into emoncms:master Oct 24, 2016
@joyrider3774
Copy link
Contributor

joyrider3774 commented Oct 25, 2016

@Paul-Reed works perfect on windows
@AndyTaylorTweet thanks for the modifcation modifcation it removes the need for gnu utils forks well at least there, don't know if there are other places that uses these utils (i know cat is used but only on the emonpi section so that's okay as this is for raspberry pi or at least i think so since i don't see the emonpi admin menu).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants