browse by category or date

Updates relevant to all Work-Pass Holders (Work Permit/S-Pass/EP):

[Sent by Gov.sg – 26 Mar]

MOM entry approval and Stay-Home Notice (SHN) for all Work Pass Holders

– All Work Pass Holders (including dependants) planning to enter/return to S’pore, regardless of mode of travel, must apply to MOM for entry approval
– Requests can be submitted up to 10 days before the date of arrival
– Employers should wait for MOM’s approval before asking pass holders to travel to S’pore
– Pass holders must show printout of approval on check-in and at ICA checkpoint
– All returnees will be placed on a 14-day SHN
– Enforcement action may be taken against errant employers and employees who do not comply with requirements

More: go.gov.sg/momentry

Exemption: Those conveying essential services or supplies via land and sea links from M’sia
More: Go.gov.sg/mom25mar

Dismissal on recent rumours:

[Sent by Gov.sg – 26 Mar]

False rumours on the COVID-19 situation

There are rumours circulating that Singapore:
(1) will go to DORSCON red 🔴
(2) will go into a lockdown 🔒
(3) Bus and MRT services will reduce / stop

These are all untrue 🙅‍♀🙅‍♂
Please do not spread unverified information 🗣🗯

Check official sources and sign up with Gov.sg WhatsApp for updates: go.gov.sg/whatsapp

Further measures to prevent COVID-19 community-spreading:

[Sent by Gov.sg – 26 Mar]

COVID-19: Tighter measures
Tighter safe distancing measures will start from 2359hrs tonight till 30 Apr
➡ These are necessary to reduce risks of new local clusters, and the possibility of more drastic measures later (More: go.gov.sg/distancingmeasures)

Malls and supermarkets remain open after tonight 🛒👐
👉 But spacing and flow of crowds will be regulated
– Be patient, wait your turn if there are queues
– Don’t rush to the supermarkets and malls, especially during peak hours
– Observe safe distancing measures – maintain at least 1m space from other shoppers 👨↔👩

Singapore has adequate supply of food & essentials
– Be patient with our retailers who need time to restock shelves 🙏

Updates on number confirmed and discharged cases:

[Sent by Gov.sg]

COVID-19: 26 Mar Update

New imported cases: 28 [26 S’pore residents & long-term pass holders, 2 visitors; travelled from Europe, North America, Middle East, ASEAN and other parts of Asia]

New local cases: 24 [10 linked to previous cases, 14 currently unlinked]

Total cases in Singapore: 683
Discharged today: 12
Total discharged: 172
Total remaining in Hospital: 404

Most in hospital stable or improving. 18 in ICU.

Go.gov.sg/moh26mar

Helping Singaporeans affected by COVID-19
– 5 ways workers will be helped through these uncertain times: go.gov.sg/resilience-workers
– More measures to support families and households: go.gov.sg/resilience-families

Stay safe and stay healthy everyone!

About Hardono

Hi, I'm Hardono. I am working as a Software Developer. I am working mostly in Windows, dealing with .NET, conversing in C#. But I know a bit of Linux, mainly because I need to keep this blog operational. I've been working in Logistics/Transport industry for more than 11 years.

Tighter measures on COVID-19 preventions:

[Sent by Gov.sg – 25 Mar]

COVID-19: Tighter measures

We can’t be complacent. Tighter measures needed to reduce risks of new local clusters
➡️Else more drastic measures may be needed go.gov.sg/notlockdown

➡️From 26 Mar 2359hrs to 30 Apr
– Limit gatherings outside work and school to 10 or fewer persons
– Physical distancing of at least 1m between persons

Stepped up enforcement
– Safe distancing measures have legal force
– Penalties for breaches of Stay-Home Notice (SHN); increased and more detailed checks
– Persons/operators who don’t comply with regulations may face suspension of operations

Support for persons on SHN
– Centralised call centre to be set up on 26 Mar for queries

More: go.gov.sg/measures24mar

Updates on confirmed and discharged cases:

[Sent by Gov.sg]

COVID-19: 25 Mar Update

New imported cases: 38 [37 S’pore residents & long-term pass holders, 1 visitor; travelled from Europe, N.America, ASEAN and other parts of Asia]

New local cases: 35 [27 linked to previous cases, 8 currently unlinked]

Total cases in Singapore: 631
Discharged today: 5
Total discharged: 160
Total remaining in Hospital: 404

Most in hospital stable or improving. 17 in ICU.

Go.gov.sg/moh25mar

No need to panic buy

Singapore has implemented tighter measures to protect Singaporeans

But there is no need to panic buy or hoard

🥚🥬 We have adequate supply of food and essentials

Our supply channels remain open

🙅‍♀ Do not spread unverified information

Take tighter measures seriously

🚫 Do not attend “Farewell” events at entertainment venues tonight

👥 Large congregations will undermine our fight against COVID-19

👍 Be socially responsible. Don’t put yourself and those around you at risk of contracting the virus

Stay safe and stay healthy everyone!

About Hardono

Hi, I'm Hardono. I am working as a Software Developer. I am working mostly in Windows, dealing with .NET, conversing in C#. But I know a bit of Linux, mainly because I need to keep this blog operational. I've been working in Logistics/Transport industry for more than 11 years.

This blog log file grows quite fast. One main reason that I notice is that there are many malicious actors who are probing WordPress blogs to find a certain exploits. By checking a certain file, they can assume that the blog has some kind of vulnerabilities. As shown below, these are requests for files which are not exists in my server. Normal blog readers will not requests for these files.

Since I’ve grown tired of cleaning the log files from these “file not found” error messages, I decided to disable NGINX’s logging, specifically for 404 (resource not found) error message. Based on this article, here’s how to do it:

map $status $loggable {
    ~^[23]  0;
    default 1;
}

access_log /path/to/access.log combined if=$loggable;

So we just need to modify it for error_log and to handle 404 error:

map $status $loggable {
    ~^404  0;
    default 1;
}

error_log /path/to/access.log combined if=$loggable;

WARNING

Above code won’t work. This is what happen if we don’t RTFM. It turns out the if is specific to access_log

Syntax: access_log path [format [buffer=size] [gzip[=level]] [flush=time] [if=condition]];
access_log off;
Default:
access_log logs/access.log combined;
Context: http, server, location, if in location, limit_except

where as for error_log:

Syntax: error_log file [level];
Default:
error_log logs/error.log error;
Context: main, http, mail, stream, server, location

It means we can only limit the logging, by specifying the lowest log level. Anything below that level will not be logged. These are the levels starting from the lowest:

  1. debug
  2. info
  3. notice
  4. warn
  5. error
  6. crit
  7. alert
  8. emerg

So if we choose error level, debug to warn will not be logged.

Anyway, I hope it helps. I’m sorry for the misleading title 😀

About Hardono

Hi, I'm Hardono. I am working as a Software Developer. I am working mostly in Windows, dealing with .NET, conversing in C#. But I know a bit of Linux, mainly because I need to keep this blog operational. I've been working in Logistics/Transport industry for more than 11 years.