Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8952337
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T13:51:07+00:00 2026-06-15T13:51:07+00:00

I have the following problem: my Catalyst Webservice uses Log4Perl to generate a logfile

  • 0

I have the following problem:

my Catalyst Webservice uses Log4Perl to generate a logfile which logs all user activities.

How can i provide this file as download only for admins? The root directory is no option, because everybody could download it. I need a secure way. Admins have a separate area within the webservice to manage the users.

Using ssh / sftp is unfortunately also no option, the log has to be available over the webservice.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T13:51:08+00:00Added an answer on June 15, 2026 at 1:51 pm

    Sorry, i was really busy the last few days.
    Thanks for your help, thats the solution i have built and it works 🙂

    sub log : Chained('base_admin') PathPart('log') Args(0) {
        my ( $self, $c ) = @_;
        my $logfile = $c->path_to('test.log');
    
        $c->response->header('Content-Type' => 'text/plain');
        $c->response->header('Content-Disposition' => 'attachment; filename=test.log');
        $c->serve_static_file($logfile);
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

if have the following problem: I have a List which i am going through
I have following problem: in my layout xml I have relative layout in which
I have following problem: My webservice application returns xml data in following order: <my_claims>
I have the following problem which ripped my soul for the past 2 weeks:
Hey guy i have following problem: I have this line of code which includes
Have the following problem. In slightly customized version of twentyeleven I can't make display
I have following problem module core contains test utils which is resused in dependent
I have following problem: I have a TabActivity which works well. Inside, there is
I have following problem that in a transformation (which is completely done in memory)
i have following problem: I have a class Foo which encapsulates a web-api. the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.