Turn off new logs pane in Overleaf

I’m wondering if there is a way to turn off the new error log pane in Overleaf. Every time I compile, the window blocks a large portion of the pdf. When working on my laptop with a small screen, this is super annoying. I tried addings %%novalidate to the top of the code, but to no avail.

online storage – Hello need help on athena auto partition for cloudtrail logs

I have followed the following documentation to automate the athena partitioning for cloudtrail s3 logs. However, in the pre requisite it is mentioned that create the table till current date, could you please let me know how can I do that.
Also, how the lambda will trigger, what configuration I need to make so that lambda will trigger.

ubuntu – 504 error and understanding PHP logs

I started getting a 504 gateway timeout error this morning. Looking at my PHP error logs I’m seeing a TON of errors at that time for one particular site on the server:

(08-Jul-2021 07:39:23) WARNING: (pool coa) child 5912, script '/srv/.../public/index.php' (request: "HEAD /index.php?u55098017845Y83713097752ga120390874027X270621384728") executing too slow (5.757430 sec), logging
(08-Jul-2021 07:39:23) WARNING: (pool coa) child 5904, script '/srv/.../public/index.php' (request: "HEAD /index.php?j152370937559R123742059028Pt17864590990v728125838656") executing too slow (5.863548 sec), logging

I have no idea what this means and have questions:

  • why does the ‘request’ have a long string variable after it?
  • what does (pool coa) child mean?

Additionally, when I look at my analytics traffic, I can’t see any spikes so I’m unsure what’s causing this.

Any suggestions on where to start?

backup logs ?

Hi,

on cpanel server,
do you use any way to backup/keep old logs on remote server ?… | Read the rest of https://www.webhostingtalk.com/showthread.php?t=1851068&goto=newpost

applications – Logcat: Differnet logs when the same app has been run multiple times

This question is w.r.t getting the logs from the logcat (using command-line tool).

I want to fetch the logs of a particular app after the app has been run for a specifc amount of time (say 15 seconds) without any user involvment. So, I used the logcat using the command adb shell logcat --pid ProcessIdOfApp and when I tried to run the same app two times (after the fresh installation and cleaned all the earlier logs) using adb shell logcat -c, then also for many apps, I am getting different logs. When I am saying different logs what I mean here is we are getting different tags.

I also tried rebooting the smartphone and then installed the apk on the device, but still I am getting different logs.

My curiousity is when the same code is being executed, the corresponding logs generation should also be same. Why it is coming different when the same app has been launched multiple times?

  • Is it like I am not filtering the logs properly for a given app? If
    yes, then what command I should use to filter the logs for a given
    app?

  • Since I am getting different tags when the same app has been launch
    multiple times, how to know which tags should be ignored?

Outlook on android: It logs me out once a day. How stay logged in forever?

I set up a new phone, everything worked great.

Now Outlook logged me out.

How do I log in to Outlook once on this phone, forever? (E.g for the life of the phone, e.g. for years)

If I do not have control over this, I’ll drop outlook. (E.g. if the sysadmins force this or something, that is the end of outlook for me on android. My passwords are machine generated, and take forever to type.)

sharepoint online – MS Flow which send an email containing all the activities that has been done on a list or library from the compliance center audit logs

Inside Office 365 compliance center we can generate reports as follow:-

enter image description here

But i am not sure if i can automate this process using Power automate ? for example to create a power automate flow >> which will integrate with the compliance center audit’s api or using built-in actions and generate an email containing all the activities that has been done on a list or library and send it on daily/weekly basis ?

Thanks in advance for any help.

Regards

selenium – How to create separate logs in Log4j

I am very new to log4j and have implemented it in my code. I am not able to create separate logs for each test case I run.
This is my XML file

 <?xml version="1.0" encoding="UTF-8"?>
<Configuration status="WARN">
       <Properties>
        <Property name="basePath">./logs</Property>
    </Properties>
 
  <Appenders>
                             
      <RollingFile name="File" fileName="${basePath}/ICETest.log" filePattern="${basePath}/ICETest-%d{yyyy-MM-dd-HH-mm-ss}.log">
       <PatternLayout pattern="%d{HH:mm:ss.SSS} (%t) %-5level %logger{36} - %msg%n"/>
      <SizeBasedTriggeringPolicy size="20000" />
          </RollingFile>
    <Console name="Console" target="SYSTEM_OUT">
      <PatternLayout pattern="%d{HH:mm:ss.SSS} (%t) %-5level %logger{36} - %msg%n"/>
    </Console>
  </Appenders>
  <Loggers>
    <Root level="all">
      <AppenderRef ref="File"/>
    </Root>
  </Loggers>
</Configuration>

And this is how I am using it in my class file:

public class MyClass extends base {
    
    private static org.apache.logging.log4j.Logger log =LogManager.getLogger(MyClass.class.getName());

@BeforeTest

    public void initialize() throws IOException

    {

    driver =IntializeDriver();

    LoginPage  l = new LoginPage(driver);
    ArrayList d = RE.getData("initialize_ice");
    driver.manage().timeouts().implicitlyWait(20, TimeUnit.SECONDS);
    log.info("Chrome launched successfully");
    driver.get((String) d.get(1));

    // driver.get(prop.getProperty("url"));
    log.info("Page Navigated successfully");


    }

@Test
public void MyTest () throws IOException, InterruptedException
        {
        
    try
    {
         LoginPage l = new LoginPage(driver);
         
        //l.getUserName().sendKeys(prop.getProperty("mapcoord"));
         l.getUserName().sendKeys((String) d.get(3));
          Thread.sleep(1000);
        log.info("username entered successfully");
          Thread.sleep(1000);
        //l.Department().sendKeys(prop.getProperty("Dept"));
            l.Department().sendKeys((String) d.get(4));
             Thread.sleep(1000);
            log.info("Department entered successfully");
}
         catch (Exception e) {
             System.out.println("Ice page not logged In");
             }
             
        }



@AfterTest
public void teardown()
    {
        
        driver.close();
    log.info("browser closed successfully");
        
    }


}

and many other class files are there, now it creates a single log file with the name ICETest.log, I want it to create a separate log file for each class as classname.log

What changes are needed here?

amazon ec2 – EC2 instance experience massive inbound traffic spikes. Apache logs show normal usage

I need some direction in figuring out what’s going on here.

I have an EC2 instance that is running a WordPress site. Inbound traffic on the instance is spiking to alarming levels which are not consistent with the usage of the website. Outbound traffic is relatively normal.

This slows down the website and

Apache logs do not reflect the traffic that is hitting the server. There is nothing out of the ordinary in the logs, except for many ‘Internal dummy connections’ which are spawned by the server, and which, according to my reading’ are nothing to worry about.

WordFence (WordPress security plugin) shows nothing out of the ordinary either. So I’m doubtful that it is an attack of some sort.

What steps can I take to learn the source and content of the traffic that is hitting my EC2 instance?

(Sorry if this is a vague question. I’m not an EC2 expert, and this is all the information I have).